Skip to content

Instantly share code, notes, and snippets.

@benjohnson77
Last active December 24, 2015 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjohnson77/6873279 to your computer and use it in GitHub Desktop.
Save benjohnson77/6873279 to your computer and use it in GitHub Desktop.
Looks like google knife needed some additional OHAI plugin to produce the same data as the AWS-knife command.
➜ crockpot git:(master) ✗>knife bootstrap ---- ommitted -----
Bootstrapping Chef on 173.255.117.224
173.255.117.224 Starting Chef Client, version 11.6.0
173.255.117.224 resolving cookbooks for run list: ["ohai", "sudo", "users::sysadmins", "apt", "git", "snap", "locales", "imagemagick", "logrotate", "rvm::user", "mysql", "bookshout_passenger", "bookshout_passenger::qa", "instramentalapp_agent"]
173.255.117.224 Synchronizing Cookbooks:
173.255.117.224 - instramentalapp_agent
173.255.117.224 - bookshout_passenger
173.255.117.224 - openssl
173.255.117.224 - build-essential
173.255.117.224 - mysql
173.255.117.224 - chef_gem
173.255.117.224 - rvm
173.255.117.224 - logrotate
173.255.117.224 - imagemagick
173.255.117.224 - locales
173.255.117.224 - snap
173.255.117.224 - dmg
173.255.117.224 - git
173.255.117.224 - apt
173.255.117.224 - users
173.255.117.224 - sudo
173.255.117.224 - ohai
173.255.117.224 Compiling Cookbooks...
173.255.117.224 Recipe: ohai::default
173.255.117.224 * remote_directory[/etc/chef/ohai_plugins] action create
173.255.117.224 Recipe: <Dynamically Defined Resource>
173.255.117.224 * cookbook_file[/etc/chef/ohai_plugins/cloud.rb] action create
173.255.117.224 (up to date)
173.255.117.224 * cookbook_file[/etc/chef/ohai_plugins/README] action create
173.255.117.224 (up to date)
173.255.117.224 (up to date)
173.255.117.224 Recipe: ohai::default
173.255.117.224 * ohai[custom_plugins] action reload
173.255.117.224
173.255.117.224 - re-run ohai and merge results into node attributes
173.255.117.224
173.255.117.224
173.255.117.224 Recipe: rvm::default
173.255.117.224 * chef_gem[rvm] action install
173.255.117.224 (up to date)
173.255.117.224 /var/chef/cache/cookbooks/rvm/libraries/rvm_chef_user_environment.rb:49: warning: class variable access from toplevel
173.255.117.224 Converging 52 resources
173.255.117.224 Recipe: ohai::default
173.255.117.224 * remote_directory[/etc/chef/ohai_plugins] action nothing
173.255.117.224 (skipped due to action :nothing)
173.255.117.224 * ohai[custom_plugins] action nothing
173.255.117.224 (skipped due to action :nothing)
173.255.117.224 Recipe: sudo::default
173.255.117.224 * package[sudo] action install
173.255.117.224 (up to date)
173.255.117.224 * directory[/etc/sudoers.d] action create (up to date)
173.255.117.224 * cookbook_file[/etc/sudoers.d/README] action create (up to date)
173.255.117.224 * template[/etc/sudoers] action create
173.255.117.224
173.255.117.224 - update content in file /etc/sudoers from eee793 to f52fa0
173.255.117.224 --- /etc/sudoers 2013-10-07 16:48:01.151191008 +0000
173.255.117.224 +++ /tmp/chef-rendered-template20131007-23950-1ygbe8x 2013-10-07 16:55:30.441178727 +0000
173.255.117.224 @@ -18,5 +18,3 @@
173.255.117.224 %sysadmin ALL=(ALL) NOPASSWD:ALL
173.255.117.224
173.255.117.224 #includedir /etc/sudoers.d
173.255.117.224 -benjohnson ALL=NOPASSWD: ALL
173.255.117.224 -build ALL=NOPASSWD: ALL
173.255.117.224
173.255.117.224 Recipe: users::sysadmins
173.255.117.224 * users_manage[sysadmin] action remove
173.255.117.224
173.255.117.224
173.255.117.224 * users_manage[sysadmin] action create
173.255.117.224
173.255.117.224
173.255.117.224 Recipe: <Dynamically Defined Resource>
173.255.117.224 * user[bookshout] action create
173.255.117.224 (up to date)
173.255.117.224 * directory[/home/bookshout/.ssh] action create
173.255.117.224 (up to date)
173.255.117.224 * template[/home/bookshout/.ssh/authorized_keys] action create
173.255.117.224 (up to date)
173.255.117.224 * group[sysadmin] action create
173.255.117.224 (up to date)
173.255.117.224 Recipe: apt::default
173.255.117.224 * execute[apt-get-update] action run
173.255.117.224 (skipped due to not_if)
173.255.117.224 * execute[apt-get update] action nothing
173.255.117.224 (skipped due to action :nothing)
173.255.117.224 * execute[apt-get autoremove] action nothing
173.255.117.224 (skipped due to action :nothing)
173.255.117.224 * execute[apt-get autoclean] action nothing
173.255.117.224 (skipped due to action :nothing)
173.255.117.224 * package[update-notifier-common] action install
173.255.117.224 (up to date)
173.255.117.224 * execute[apt-get-update-periodic] action run (skipped due to only_if)
173.255.117.224 * directory[/var/cache/local] action create (up to date)
173.255.117.224 * directory[/var/cache/local/preseeding] action create (up to date)
173.255.117.224 Recipe: git::default
173.255.117.224 * package[git] action install
173.255.117.224 (up to date)
173.255.117.224 Recipe: snap::default
173.255.117.224 * template[/usr/bin/snap] action create (up to date)
173.255.117.224 * execute[permission snap] action run
173.255.117.224
173.255.117.224 - execute sudo chmod +x /usr/bin/snap
173.255.117.224
173.255.117.224 Recipe: locales::default
173.255.117.224 * bash[export PATH=$PATH:/usr/sbin] action run
173.255.117.224
173.255.117.224 - execute "bash" "/tmp/chef-script20131007-23950-15xe94v"
173.255.117.224
173.255.117.224 * template[/etc/default/locale] action create (up to date)
173.255.117.224 Recipe: imagemagick::default
173.255.117.224 * package[imagemagick] action install
173.255.117.224 (up to date)
173.255.117.224 Recipe: logrotate::default
173.255.117.224 * package[logrotate] action install
173.255.117.224 (up to date)
173.255.117.224 Recipe: rvm::default
173.255.117.224 * chef_gem[rvm] action install (up to date)
173.255.117.224 Recipe: rvm::user_install
173.255.117.224 * package[sed] action install
173.255.117.224 (up to date)
173.255.117.224 * package[grep] action install
173.255.117.224 (up to date)
173.255.117.224 * package[tar] action install
173.255.117.224 (up to date)
173.255.117.224 * package[gzip] action install
173.255.117.224 (up to date)
173.255.117.224 * package[bzip2] action install
173.255.117.224 (up to date)
173.255.117.224 * package[bash] action install
173.255.117.224 (up to date)
173.255.117.224 * package[curl] action install
173.255.117.224 (up to date)
173.255.117.224 * package[git-core] action install
173.255.117.224 (up to date)
173.255.117.224 * template[/home/bookshout/.rvmrc] action create (up to date)
173.255.117.224 * log[Performing RVM install with [curl -L https://get.rvm.io | bash -s -- --version 1.18.8] (as bookshout)] action write
173.255.117.224
173.255.117.224 * execute[install user RVM for bookshout] action run
173.255.117.224 (skipped due to not_if)
173.255.117.224 * execute[upgrade user RVM for bookshout to none] action run (skipped due to not_if)
173.255.117.224 Recipe: rvm::user
173.255.117.224 * rvm_default_ruby[ruby-1.9.3-p194@bookshout] action create
173.255.117.224
173.255.117.224
173.255.117.224
173.255.117.224 * rvm_global_gem[bundler] action install
173.255.117.224 Recipe: <Dynamically Defined Resource>
173.255.117.224 * execute[Add bundler to /home/bookshout/.rvm/gemsets/global.gems] action run
173.255.117.224 (skipped due to not_if)
173.255.117.224 * rvm_gem[bundler] action install
173.255.117.224 (up to date)
173.255.117.224 (up to date)
173.255.117.224 * execute[Add bundler to /home/bookshout/.rvm/gemsets/global.gems] action nothing
173.255.117.224 (skipped due to action :nothing)
173.255.117.224 * rvm_gem[bundler] action nothing
173.255.117.224 (skipped due to action :nothing)
173.255.117.224 Recipe: mysql::client
173.255.117.224 * package[mysql-client] action install
173.255.117.224 (up to date)
173.255.117.224 * package[libmysqlclient-dev] action install
173.255.117.224 (up to date)
173.255.117.224 Recipe: bookshout_passenger::default
173.255.117.224 * package[libcurl4-openssl-dev] action install
173.255.117.224 (up to date)
173.255.117.224 * remote_file[/home/bookshout/passenger-enterprise-server-3.0.21.gem] action create
173.255.117.224 (up to date)
173.255.117.224 * remote_file[/etc/passenger-enterprise-license] action create
173.255.117.224 (up to date)
173.255.117.224 * bash[passenger-enterprise] action run
173.255.117.224 (skipped due to not_if)
173.255.117.224 Recipe: bookshout_passenger::init
173.255.117.224 * template[nginx] action create
173.255.117.224 (skipped due to not_if)
173.255.117.224 * execute[update-rc] action run
173.255.117.224
173.255.117.224 - execute /usr/sbin/update-rc.d -f nginx defaults
173.255.117.224
173.255.117.224 Recipe: bookshout_passenger::ruby_wrapper
173.255.117.224 * template[ruby_wrapper] action create (skipped due to not_if)
173.255.117.224 Recipe: bookshout_passenger::qa
173.255.117.224 * service[nginx] action nothing
173.255.117.224 (up to date)
173.255.117.224 * template[nginx.conf] action create (up to date)
173.255.117.224 * template[mime.types] action create (up to date)
173.255.117.224 * directory[/web] action create (up to date)
173.255.117.224 Recipe: instramentalapp_agent::default
173.255.117.224 * gem_package[instrumental_tools] action install
173.255.117.224 (up to date)
173.255.117.224 * execute[start instramentalapp agent] action run
173.255.117.224
173.255.117.224 - execute instrument_server -k 0d0996be024e5c4220d2680a57f39ef6 -d
173.255.117.224
173.255.117.224 Chef Client finished, 10 resources updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment