Created
December 31, 2013 14:01
-
-
Save satzz/8197183 to your computer and use it in GitHub Desktop.
chef 11.8.2 + knife-solo 0.4.2 導入(OS X 10.8.5) ref: http://qiita.com/satzz@github/items/f9863abc272b0e642e74
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
% curl -L http://www.opscode.com/chef/install.sh | sudo bash | |
% . ~/.zshrc | |
% knife -v | |
Chef: 11.8.2 |
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
% git clone git://github.com/matschaffer/knife-solo.git | |
% cd knife-solo | |
knife-solo% gem install bundler | |
knife-solo% bundle -v | |
Bundler version 1.0.0.rc.6 | |
knife-solo% rake install --trace | |
** Invoke install (first_time) | |
** Invoke build (first_time) | |
** Execute build | |
rake aborted! | |
ERROR: While executing gem ... (Gem::InvalidSpecificationException) | |
["lib/knife-solo/resources/patch_cookbooks/chef-solo-search/.travis.yml", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/CHANGELOG", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/LICENSE", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/NOTICE", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/README.md", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/search.rb", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/search/overrides.rb", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/search/parser.rb", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene.treetop", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/lucene_nodes.rb", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/libraries/vendor/chef/solr_query/query_transform.rb", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/metadata.rb", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/recipes/default.rb", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/Gemfile", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/data/data_bags/node/alpha.json", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/data/data_bags/node/beta.json", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/data/data_bags/node/without_json_class.json", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/data/data_bags/users/jerry.json", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/data/data_bags/users/lea.json", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/data/data_bags/users/mike.json", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/data/data_bags/users/tom.json", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/test_data_bags.rb", "lib/knife-solo/resources/patch_cookbooks/chef-solo-search/tests/test_search.rb"] are not files | |
... |
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
knife-solo% git submodule init | |
knife-solo% git submodule update | |
knife-solo% rake install --trace | |
** Invoke install (first_time) | |
** Invoke build (first_time) | |
** Execute build | |
knife-solo 0.4.2 built to pkg/knife-solo-0.4.2.gem. | |
** Execute install | |
knife-solo (0.4.2) installed. |
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
% cd vagranttest | |
vagranttest% vagrant up |
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
vagranttest% vagrant ssh-config --host melody >> ~/.ssh/config |
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
% vim ~/.ssh/config | |
7 You appear to be running Vagrant outside of the official installers. | |
8 Note that the installers are what ensure that Vagrant has all required | |
9 dependencies, and Vagrant assumes that these dependencies exist. By | |
10 running outside of the installer environment, Vagrant may not function | |
11 properly. To remove this warning, install Vagrant using one of the | |
12 official packages from vagrantup.com. |
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
% ssh melody knife -v | |
Chef: 11.8.0 |
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
% knife solo prepare melody | |
% ssh melody knife -v | |
Chef: 11.8.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment