View gist:3020547
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
Log from Chef Server: | |
[Fri, 29 Jun 2012 18:06:48 GMT] [info] [<0.546.0>] 192.168.1.12 - - 'POST' /chef/_ensure_full_commit?seq=1 201 | |
[Fri, 29 Jun 2012 18:06:48 GMT] [info] [<0.546.0>] 192.168.1.12 - - 'PUT' /chef/_local/26bf8bcadd4a2381168c434337282768 201 | |
[Fri, 29 Jun 2012 18:07:13 GMT] [info] [<0.596.0>] 192.168.1.12 - - 'GET' /chef/_design/nodes?open_revs=["1-e4ea4195545e0d2f261e8bde49a0adf2"]&revs=true&latest=true&att_encoding_info=true 200 | |
[Fri, 29 Jun 2012 18:07:13 GMT] [info] [<0.608.0>] 192.168.1.12 - - 'GET' /chef/_design/cookbooks?open_revs=["1-cd3491d98ccf853fdec1e982ed9b0862"]&revs=true&latest=true&att_encoding_info=true 200 | |
[Fri, 29 Jun 2012 18:07:44 GMT] [info] [<0.631.0>] 192.168.1.12 - - 'GET' /chef/_design/nodes?open_revs=["1-e4ea4195545e0d2f261e8bde49a0adf2"]&revs=true&latest=true&att_encoding_info=true 200 | |
[Fri, 29 Jun 2012 18:07:44 GMT] [info] [<0.643.0>] 192.168.1.12 - - 'GET' /chef/_design/cookbooks?open_revs=["1-cd3491d98ccf853fdec1e982ed9b0862"]&revs=true&latest=true&att_encoding_info= |
View gist:3020474
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
{"db_name":"chef","doc_count":16,"doc_del_count":0,"update_seq":21,"purge_seq":0,"compact_running":false,"disk_size":180315,"instance_start_time":"1340992836524670","disk_format_version":5,"committed_update_seq":21} |
View gist:3019911
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
root@couchdb02:/var/lib/rabbitmq# curl -X POST http://localhost:5984/_replicate -H "Content-Type: application/json" -d '{"source":"http://192.168.1.100:5984/chef","target":"chef","continuous":false}' | |
{"error":"http_request_failed","reason":"failed to replicate http://192.168.1.100:5984/chef/"} | |
[Fri, 29 Jun 2012 18:23:56 GMT] [info] [<0.1628.0>] starting new replication "26bf8bcadd4a2381168c434337282768" at <0.1639.0> | |
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1652.0>] couch_rep_httpc request failed after 10 retries: http://192.168.1.100:5984/chef/ | |
[Fri, 29 Jun 2012 18:37:58 GMT] [error] [<0.1650.0>] ** Generic server <0.1650.0> terminating |
View gist:2975416
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
{ | |
"name": "debian05.testing.net", | |
"chef_environment": "development", | |
"normal": { | |
"tags": [ | |
], | |
"override_attributes": { | |
"fantasy": { | |
"version": "204" |
View gist:2975293
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 default.rb for attributes | |
################### | |
default[:code][:version] = "300" | |
in runlist.json | |
################### | |
{ | |
"name": "debian05.testing.net", | |
"chef_environment": "development", |