Add a chef-solo recipe to example to prove it works

This commit is contained in:
Fabio Rehm 2013-03-29 13:50:04 -03:00
parent 3da1d20c38
commit e514f00487
2 changed files with 9 additions and 0 deletions

5
example/Vagrantfile vendored
View file

@ -39,4 +39,9 @@ echo "Hi there I'm a shell script used for provisioning"
# If you want to make some debugging noise
# puppet.options << [ '--verbose', '--debug' ]
end
config.vm.provision :chef_solo do |chef|
chef.add_recipe "hello-world"
chef.log_level = :debug
end
end

View file

@ -0,0 +1,4 @@
execute "hello world" do
command "echo 'Hello from Chef!'"
action :run
end