Created
June 18, 2013 10:44
-
-
Save naoya/5804353 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
FROM centos | |
RUN curl -L http://www.opscode.com/chef/install.sh | bash | |
ADD ./chef-repo /root/chef-repo | |
RUN cd /root/chef-repo; chef-solo -c solo.rb -j ./nodes/localhost.json |
This file contains hidden or 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
{ | |
"run_list" : [ | |
"recipe[yum::epel]", | |
"recipe[nginx]" | |
] | |
} |
This file contains hidden or 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
file_cache_path "/tmp/chef-solo" | |
cookbook_path ["/root/chef-repo/cookbooks", "/root/chef-repo/site-cookbooks"] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment