$ sudo yum update -y
$ sudo yum install -y ruby-gem ruby-devel gcc
$ sudo gem install knife-solo --no-ri --no-rdoc
$ knife configure
$ knife solo init chef-solo
$ cd chef-solo
$ knife cookbook create HOGEHOGE -o site-cookbooks
$ vim site-cookbooks/HOGEHOGE/recipes/default.rb
$ vim localhost.json
$ sudo /usr/local/bin/chef-solo -c solo.rb -j localhost.json
Last active
August 29, 2015 14:01
-
-
Save stoshiya/9cebd38f3569f05f4a4b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment