Created
October 24, 2014 19:09
-
-
Save stathy/704d56febd77bde840f5 to your computer and use it in GitHub Desktop.
a sample code snippet for our ami factory booth demo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include_recipe 'apt' | |
include_recipe 'nginx' | |
directory '/var/www/nginx-default' do | |
owner 'www-data' | |
group 'www-data' | |
mode '0755' | |
recursive true | |
action :create | |
end | |
file '/var/www/nginx-default/index.html' do | |
owner 'www-data' | |
group 'www-data' | |
mode '0755' | |
content 'Hello World from Packer!' | |
action :create | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment