Skip to content
Snippets Groups Projects
Commit f5aa1fdb authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Added hello world chef recipie.

parent c3ebe6c9
No related branches found
No related tags found
No related merge requests found
hello.txt
/.vagrant
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# vi: set ft=ruby : # vi: set ft=ruby :
Vagrant.configure(2) do |config| Vagrant.configure(2) do |config|
config.vm.box = "denis/archlinux64" #config.vm.box = "denis/archlinux64"
config.vm.box = "ubuntu/trusty64"
# config.vm.network "forwarded_port", guest: 80, host: 8080 # config.vm.network "forwarded_port", guest: 80, host: 8080
...@@ -44,4 +45,8 @@ Vagrant.configure(2) do |config| ...@@ -44,4 +45,8 @@ Vagrant.configure(2) do |config|
# sudo apt-get update # sudo apt-get update
# sudo apt-get install -y apache2 # sudo apt-get install -y apache2
# SHELL # SHELL
config.vm.provision "chef_apply" do |chef|
chef.recipe = File.read("hello.rb")
end
end end
file '/vagrant/hello.txt' do
content "Hello World!"
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment