7,166
edits
(→Node) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 51: | Line 51: | ||
[http://wiki.opscode.com/display/chef/Installing+Omnibus+Chef+Client+on+Linux+and+Mac Omnibus Installation] | [http://wiki.opscode.com/display/chef/Installing+Omnibus+Chef+Client+on+Linux+and+Mac Omnibus Installation] | ||
sudo true && curl -L https://www.opscode.com/chef/install.sh | sudo bash | <del>sudo true && curl -L https://www.opscode.com/chef/install.sh | sudo bash</del> | ||
upgrade も ↑ で OK | upgrade も ↑ で OK | ||
sudo true && curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -v 10.12.0 | <del>sudo true && curl -L https://www.opscode.com/chef/install.sh | sudo bash -s -- -v 10.12.0</del> | ||
とか バージョン指定も可能。(今は 10.16.2) | とか バージョン指定も可能。(今は 10.16.2) | ||
(2015/06/25 追記: 最近は curl | sudo bash | (2015/06/25 追記: 最近は curl | sudo bash はさすがにマズイという風潮が... なので公式サイトの表面からは消えてるようです。[https://downloads.chef.io/chef-client/]) | ||
== my recipes == | == my recipes == | ||
Line 81: | Line 81: | ||
knife.rb | knife.rb | ||
<pre> | <pre> | ||
# EC2: | # EC2: | ||
knife[:aws_access_key_id] = "---" | knife[:aws_access_key_id] = "---" | ||
knife[:aws_secret_access_key] = "---" | knife[:aws_secret_access_key] = "---" |