diff options
author | Seth Vargo <sethvargo@gmail.com> | 2013-12-30 13:00:29 -0500 |
---|---|---|
committer | Seth Vargo <sethvargo@gmail.com> | 2013-12-30 13:07:04 -0500 |
commit | 16fa20493e37e9cf9c9d5d97aa9b6425c44f9d6d (patch) | |
tree | 0fbfa0218eaa87523950a0670ab67a094ede85a7 /playground/cookbooks | |
parent | 59baab81f5aa1df4dd29781612db5c183e293b52 (diff) | |
download | chef-zero-16fa20493e37e9cf9c9d5d97aa9b6425c44f9d6d.tar.gz |
Make playground items more semantic
Diffstat (limited to 'playground/cookbooks')
-rw-r--r-- | playground/cookbooks/apache2/metadata.rb | 2 | ||||
-rw-r--r-- | playground/cookbooks/apache2/recipes/default.rb | 5 | ||||
-rw-r--r-- | playground/cookbooks/apache2/templates/default/site.conf.erb | 1 | ||||
-rw-r--r-- | playground/cookbooks/blah/metadata.rb | 3 | ||||
-rw-r--r-- | playground/cookbooks/blah/recipes/default.rb | 1 | ||||
-rw-r--r-- | playground/cookbooks/blah/templates/default/hi | 1 | ||||
-rw-r--r-- | playground/cookbooks/blork/recipes/default.rb | 1 | ||||
-rw-r--r-- | playground/cookbooks/blork/templates/default/hi | 1 | ||||
-rw-r--r-- | playground/cookbooks/php/metadata.rb | 3 | ||||
-rw-r--r-- | playground/cookbooks/php/recipes/default.rb | 1 |
10 files changed, 12 insertions, 7 deletions
diff --git a/playground/cookbooks/apache2/metadata.rb b/playground/cookbooks/apache2/metadata.rb new file mode 100644 index 0000000..884efc6 --- /dev/null +++ b/playground/cookbooks/apache2/metadata.rb @@ -0,0 +1,2 @@ +name 'apache2' +version '1.0.0' diff --git a/playground/cookbooks/apache2/recipes/default.rb b/playground/cookbooks/apache2/recipes/default.rb new file mode 100644 index 0000000..34bcd8a --- /dev/null +++ b/playground/cookbooks/apache2/recipes/default.rb @@ -0,0 +1,5 @@ +package 'apache2' + +template '/etc/apache2/sites-enabled' do + source 'site.conf.erb' +end diff --git a/playground/cookbooks/apache2/templates/default/site.conf.erb b/playground/cookbooks/apache2/templates/default/site.conf.erb new file mode 100644 index 0000000..e4780b6 --- /dev/null +++ b/playground/cookbooks/apache2/templates/default/site.conf.erb @@ -0,0 +1 @@ +# This is just an empty file, but you get the idea diff --git a/playground/cookbooks/blah/metadata.rb b/playground/cookbooks/blah/metadata.rb deleted file mode 100644 index a6ca124..0000000 --- a/playground/cookbooks/blah/metadata.rb +++ /dev/null @@ -1,3 +0,0 @@ -version "1.5.1" - -depends "blork" diff --git a/playground/cookbooks/blah/recipes/default.rb b/playground/cookbooks/blah/recipes/default.rb deleted file mode 100644 index 947d931..0000000 --- a/playground/cookbooks/blah/recipes/default.rb +++ /dev/null @@ -1 +0,0 @@ -template "/tmp/hii" diff --git a/playground/cookbooks/blah/templates/default/hi b/playground/cookbooks/blah/templates/default/hi deleted file mode 100644 index 1937459..0000000 --- a/playground/cookbooks/blah/templates/default/hi +++ /dev/null @@ -1 +0,0 @@ -helloooooooooo world diff --git a/playground/cookbooks/blork/recipes/default.rb b/playground/cookbooks/blork/recipes/default.rb deleted file mode 100644 index 947d931..0000000 --- a/playground/cookbooks/blork/recipes/default.rb +++ /dev/null @@ -1 +0,0 @@ -template "/tmp/hii" diff --git a/playground/cookbooks/blork/templates/default/hi b/playground/cookbooks/blork/templates/default/hi deleted file mode 100644 index 12d88af..0000000 --- a/playground/cookbooks/blork/templates/default/hi +++ /dev/null @@ -1 +0,0 @@ -hhellooooooo world diff --git a/playground/cookbooks/php/metadata.rb b/playground/cookbooks/php/metadata.rb new file mode 100644 index 0000000..536fff4 --- /dev/null +++ b/playground/cookbooks/php/metadata.rb @@ -0,0 +1,3 @@ +name 'php' +version '1.0.0' +depends 'apache2' diff --git a/playground/cookbooks/php/recipes/default.rb b/playground/cookbooks/php/recipes/default.rb new file mode 100644 index 0000000..5ea29a7 --- /dev/null +++ b/playground/cookbooks/php/recipes/default.rb @@ -0,0 +1 @@ +package 'php' |