Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- directory "/home/#{node[:user][:name]}/example" do
- owner node[:user][:name]
- end
- file "/home/#{node[:user][:name]}/example/index.html" do
- owner node[:user][:name]
- content "<h1>Hello World!</h1>"
- end
- file "#{node[:nginx][:dir]}/sites-available/example" do
- content "server { root /home/#{node[:user][:name]}/example; }"
- end
- nginx_site "example"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement