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
/opt/opscode/bin/knife upload /cookbooks -c /path/to/knife.rb --force -VV | |
INFO: Using configuration from /path/to/knife.rb | |
..snip for brevity | |
DEBUG: ---- HTTP Status and Header Data: ---- | |
DEBUG: HTTP 1.1 200 OK | |
DEBUG: server: openresty/1.7.10.1 | |
DEBUG: date: Mon, 16 Nov 2015 23:23:31 GMT | |
DEBUG: content-type: application/json |
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
### Keybase proof | |
I hereby claim: | |
* I am groknaut on github. | |
* I am kallen (https://keybase.io/kallen) on keybase. | |
* I have a public key whose fingerprint is 49CD DA48 AB65 33AD 4C4B C714 AC51 0F0F 9B41 8A55 | |
To claim this, I am signing this object: |
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
[Fri, 26 Oct 2012 23:31:45 +0000] DEBUG: Loading plugin linux::ssh_host_key | |
[Fri, 26 Oct 2012 23:31:45 +0000] DEBUG: Loading plugin linux::memory | |
[Fri, 26 Oct 2012 23:31:45 +0000] DEBUG: Loading plugin linux::filesystem | |
[Fri, 26 Oct 2012 23:31:46 +0000] DEBUG: Loading plugin linux::block_device | |
[Fri, 26 Oct 2012 23:31:46 +0000] DEBUG: Client key /etc/chef/client.pem is present - skipping registration | |
[Fri, 26 Oct 2012 23:31:46 +0000] DEBUG: Building node object for test-mobile.prod.gogiants.com | |
[Fri, 26 Oct 2012 23:31:46 +0000] DEBUG: Signing the request as test-mobile.prod.gogiants.com | |
[Fri, 26 Oct 2012 23:31:46 +0000] DEBUG: String to sign: 'Method:GET | |
Hashed Path:zpY0J2s6WR0OR3PupQBaoodN7rU= | |
X-Ops-Content-Hash:2jmj7l5rSw0yVb/vlWAYkK/YBwk= |
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
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: Loading Recipe aws via include_recipe | |
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: Found recipe default in cookbook aws | |
[Tue, 26 Jun 2012 22:47:18 +0000] INFO: Processing gem_package[right_aws] action install (aws::default line 20) | |
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: gem_package[right_aws] detected omnibus installation in /opt/chef/embedded/bin | |
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: gem_package[right_aws] searching for 'gem' binary in path: /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/ec2/bin:/opt/iam/bin:/home/ec2/bin:/root/bin:/opt/chef/embedded/bin:/opt/chef/embedded/bin | |
[Tue, 26 Jun 2012 22:47:18 +0000] DEBUG: gem_package[right_aws] using gem '/usr/bin/gem' | |
[Tue, 26 J |
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
[Mon, 04 Jun 2012 21:04:36 +0000] INFO: Processing cookbook_file[/usr/local/bin/postfixstats.sh] action create (dynamically defined) | |
[Mon, 04 Jun 2012 21:04:36 +0000] INFO: Processing cookbook_file[/usr/local/bin/pflogsumm] action create (dynamically defined) | |
[Mon, 04 Jun 2012 21:04:36 +0000] INFO: Processing cookbook_file[/usr/local/bin/opschangelog.rb] action create (dynamically defined) | |
[Mon, 04 Jun 2012 21:04:36 +0000] INFO: Processing cookbook_file[/usr/local/bin/static-update.sh] action create (dynamically defined) | |
[Mon, 04 Jun 2012 21:04:36 +0000] INFO: Processing cookbook_file[/usr/local/bin/ec2-chef-ci] action create (dynamically defined) | |
[Mon, 04 Jun 2012 21:04:38 +0000] ERROR: cookbook_file[/usr/local/bin/ec2-chef-ci] (dynamically defined) has had an error | |
[Mon, 04 Jun 2012 21:04:38 +0000] ERROR: remote_directory[/usr/local/bin] (toolbin::default line 27) has had an error | |
[Mon, 04 Jun 2012 21:04:38 +0000] ERROR: remote_directory[/usr/local/bin] (/var/cache/chef/cookbooks/toolbin/recipes/default.rb: |
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
[Sun, 03 Jun 2012 06:58:43 +0000] DEBUG: Converging node chef-ci-webapp01c.dev.dohdeca.com | |
[Sun, 03 Jun 2012 06:58:43 +0000] DEBUG: Processing gem_package[pony] on chef-ci-webapp01c.dev.dohdeca.com | |
[Sun, 03 Jun 2012 06:58:43 +0000] INFO: Processing gem_package[pony] action nothing (chef_handler::default line 25) | |
[Sun, 03 Jun 2012 06:58:43 +0000] DEBUG: gem_package[pony] using gem from running ruby environment | |
[Sun, 03 Jun 2012 06:58:43 +0000] DEBUG: gem_package[pony] found installed gem pony version 1.4 matching pony (>= 0, runtime) | |
[Sun, 03 Jun 2012 06:58:43 +0000] DEBUG: Doing nothing for gem_package[pony] | |
[Sun, 03 Jun 2012 06:58:43 +0000] DEBUG: Processing gem_package[gist] on chef-ci-webapp01c.dev.dohdeca.com | |
[Sun, 03 Jun 2012 06:58:43 +0000] INFO: Processing gem_package[gist] action install (chef_handler::default line 35) | |
[Sun, 03 Jun 2012 06:58:43 +0000] DEBUG: gem_package[gist] using gem from running ruby environment | |
[Sun, 03 Jun 2012 06:58:43 +0000] DEBUG: gem_package[gist] no installed version found |
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
in the first try, this config is in client.rb: | |
chef_server_url "https://chef.venus.spergacula.com" | |
chef.venus.spergacula.com is a CNAME to cheftain04. | |
root@cheftain04:~# chef-client -l debug -L /var/log/chef/client.log | |
[snip] | |
[Fri, 24 Feb 2012 21:52:54 +0000] DEBUG: Processing cookbook_file[/etc/sudoers] on cheftain04.venus.spergacula.com | |
[Fri, 24 Feb 2012 21:52:54 +0000] INFO: Processing cookbook_file[/etc/sudoers] action create (users::user-file-dist line 6) | |
[Fri, 24 Feb 2012 21:52:54 +0000] DEBUG: Processing directory[/home/builder] on cheftain04.venus.spergacula.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
# credit to opscode: | |
# https://gist.github.com/319106 | |
# credit to makuk66 | |
#https://gist.github.com/1111078 | |
@client_key_file="/etc/chef/client.pem" | |
@client_rb_std_filename = "/etc/chef/client.rb" | |
@client_rb_firstboot_filename = "/etc/chef/client.firstboot.rb" | |
def first_boot | |
require 'ohai' |