-
-
Save ChrisLundquist/f552cd155e7ce06be089 to your computer and use it in GitHub Desktop.
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
Checking Chef version... | |
Starting Chef Client, version 11.0.0 | |
[2013-03-07T20:42:59-05:00] WARN: [inet6] no ip on venet0 | |
[2013-03-07T20:42:59-05:00] WARN: unable to detect ip6address | |
Compiling Cookbooks... | |
[2013-03-07T20:42:59-05:00] WARN: Cloning resource attributes for service[apache2] from prior resource (CHEF-3694) | |
[2013-03-07T20:42:59-05:00] WARN: Previous service[apache2]: /home/deploy/chef-solo/cookbooks/apache2/recipes/default.rb:24:in `from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Current service[apache2]: /home/deploy/chef-solo/cookbooks/apache2/recipes/default.rb:221:in `from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Cloning resource attributes for package[gcc-c++] from prior resource (CHEF-3694) | |
[2013-03-07T20:42:59-05:00] WARN: Previous package[gcc-c++]: /home/deploy/chef-solo/cookbooks/build-essential/recipes/default.rb:51:in `block in from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Current package[gcc-c++]: /home/deploy/chef-solo/cookbooks/apache2/recipes/mod_auth_openid.rb:44:in `block in from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Cloning resource attributes for package[make] from prior resource (CHEF-3694) | |
[2013-03-07T20:42:59-05:00] WARN: Previous package[make]: /home/deploy/chef-solo/cookbooks/build-essential/recipes/default.rb:51:in `block in from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Current package[make]: /home/deploy/chef-solo/cookbooks/apache2/recipes/mod_auth_openid.rb:44:in `block in from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Cloning resource attributes for file[/etc/httpd/conf.d/ssl.conf] from prior resource (CHEF-3694) | |
[2013-03-07T20:42:59-05:00] WARN: Previous file[/etc/httpd/conf.d/ssl.conf]: /home/deploy/chef-solo/cookbooks/apache2/recipes/default.rb:84:in `block in from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Current file[/etc/httpd/conf.d/ssl.conf]: /home/deploy/chef-solo/cookbooks/apache2/recipes/mod_ssl.rb:31:in `from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Cloning resource attributes for template[/etc/httpd/ports.conf] from prior resource (CHEF-3694) | |
[2013-03-07T20:42:59-05:00] WARN: Previous template[/etc/httpd/ports.conf]: /home/deploy/chef-solo/cookbooks/apache2/recipes/default.rb:195:in `from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Current template[/etc/httpd/ports.conf]: /home/deploy/chef-solo/cookbooks/apache2/recipes/mod_ssl.rb:37:in `from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Cloning resource attributes for rabbitmq_user[sensu] from prior resource (CHEF-3694) | |
[2013-03-07T20:42:59-05:00] WARN: Previous rabbitmq_user[sensu]: /home/deploy/chef-solo/cookbooks/sensu/recipes/rabbitmq.rb:59:in `from_file' | |
[2013-03-07T20:42:59-05:00] WARN: Current rabbitmq_user[sensu]: /home/deploy/chef-solo/cookbooks/sensu/recipes/rabbitmq.rb:64:in `from_file' | |
Converging 160 resources | |
Recipe: build-essential::default | |
* package[gcc] action install (up to date) | |
* package[gcc-c++] action install (up to date) | |
* package[kernel-devel] action install (up to date) | |
* package[make] action install (up to date) | |
* package[autoconf] action install (up to date) | |
* package[flex] action install (up to date) | |
* package[bison] action install (up to date) | |
Recipe: git::default | |
* package[git] action install (up to date) | |
Recipe: sensu.sea01.int.blueboxgrid.com::campfire_handler | |
* sensu_gem[sensu-plugin] action install (up to date) | |
Recipe: <Dynamically Defined Resource> | |
* gem_package[sensu-plugin] action install (up to date) | |
Recipe: sensu.sea01.int.blueboxgrid.com::campfire_handler | |
* sensu_gem[tinder] action install (up to date) | |
Recipe: <Dynamically Defined Resource> | |
* gem_package[tinder] action install (up to date) | |
Recipe: sensu.sea01.int.blueboxgrid.com::campfire_handler | |
* sensu_handler[campfire] action create (up to date) | |
Recipe: <Dynamically Defined Resource> | |
* directory[/etc/sensu/conf.d/handlers] action create (up to date) | |
* sensu_json_file[/etc/sensu/conf.d/handlers/campfire.json] action create (up to date) | |
Recipe: sensu.sea01.int.blueboxgrid.com::campfire_handler | |
* sensu_handler[default] action create[2013-03-07T20:43:02-05:00] WARN: Cloning resource attributes for directory[/etc/sensu/conf.d/handlers] from prior resource (CHEF-3694) | |
[2013-03-07T20:43:02-05:00] WARN: Previous directory[/etc/sensu/conf.d/handlers]: /home/deploy/chef-solo/cookbooks/sensu/providers/handler.rb:12:in `block in class_from_file' | |
[2013-03-07T20:43:02-05:00] WARN: Current directory[/etc/sensu/conf.d/handlers]: /home/deploy/chef-solo/cookbooks/sensu/providers/handler.rb:12:in `block in class_from_file' | |
(up to date) | |
Recipe: <Dynamically Defined Resource> | |
* directory[/etc/sensu/conf.d/handlers] action create (up to date) | |
* sensu_json_file[/etc/sensu/conf.d/handlers/default.json] action create (up to date) | |
Recipe: sensu.sea01.int.blueboxgrid.com::install_community_plugins | |
* git[/var/chef/cache/sensu-community-plugins] action sync (up to date) | |
* directory[/etc/sensu/handlers/notification] action create (up to date) | |
* bash[cp /var/chef/cache/sensu-community-plugins/handlers/notification/campfire.rb /etc/sensu/handlers/notification/campfire.rb] action run | |
- execute "bash" "/tmp/chef-script20130307-26626-if1xqc" | |
* cookbook_file[/etc/sensu/handlers/notification/campfire.json] action create (up to date) | |
Recipe: apache2::default | |
* package[apache2] action install (up to date) | |
* service[apache2] action enable (up to date) | |
* directory[/var/log/httpd] action create (up to date) | |
* package[perl] action install (up to date) | |
* cookbook_file[/usr/local/bin/apache2_module_conf_generate.pl] action create (up to date) | |
* directory[/etc/httpd/sites-available] action create (up to date) | |
* directory[/etc/httpd/sites-enabled] action create (up to date) | |
* directory[/etc/httpd/mods-available] action create (up to date) | |
* directory[/etc/httpd/mods-enabled] action create (up to date) | |
* execute[generate-module-list] action nothing (up to date) | |
* template[/usr/sbin/a2ensite] action create (up to date) | |
* template[/usr/sbin/a2dissite] action create (up to date) | |
* template[/usr/sbin/a2enmod] action create (up to date) | |
* template[/usr/sbin/a2dismod] action create (up to date) | |
* file[/etc/httpd/conf.d/proxy_ajp.conf] action delete (up to date) | |
* file[/etc/httpd/conf.d/auth_pam.conf] action delete (up to date) | |
* file[/etc/httpd/conf.d/authz_ldap.conf] action delete (up to date) | |
* file[/etc/httpd/conf.d/webalizer.conf] action delete (up to date) | |
* file[/etc/httpd/conf.d/ssl.conf] action delete (up to date) | |
* file[/etc/httpd/conf.d/welcome.conf] action delete (up to date) | |
* file[/etc/httpd/conf.d/README] action delete (up to date) | |
Recipe: apache2::mod_deflate | |
* template[/etc/httpd/mods-available/deflate.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/deflate.load] action create (up to date) | |
* execute[a2enmod deflate] action run (skipped due to not_if) | |
Recipe: apache2::default | |
* directory[/etc/httpd/ssl] action create (up to date) | |
* directory[/etc/httpd/conf.d] action create (up to date) | |
* directory[/var/cache/httpd] action create (up to date) | |
* template[/etc/sysconfig/httpd] action create (up to date) | |
* template[apache2.conf] action create (up to date) | |
* template[apache2-conf-security] action create (up to date) | |
* template[apache2-conf-charset] action create (up to date) | |
* template[/etc/httpd/ports.conf] action create | |
- update template[/etc/httpd/ports.conf] from 905920 to ad54ab | |
Could not determine diff. Error: No such file or directory - diff -u /etc/httpd/ports.conf /tmp/chef-rendered-template20130307-26626-mk8nwg | |
* template[/etc/httpd/sites-available/default] action create (up to date) | |
Recipe: apache2::mod_status | |
* template[/etc/httpd/mods-available/status.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/status.load] action create (up to date) | |
* execute[a2enmod status] action run (skipped due to not_if) | |
Recipe: apache2::mod_alias | |
* template[/etc/httpd/mods-available/alias.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/alias.load] action create (up to date) | |
* execute[a2enmod alias] action run (skipped due to not_if) | |
Recipe: apache2::mod_auth_basic | |
* file[/etc/httpd/mods-available/auth_basic.load] action create (up to date) | |
* execute[a2enmod auth_basic] action run (skipped due to not_if) | |
Recipe: apache2::mod_authn_file | |
* file[/etc/httpd/mods-available/authn_file.load] action create (up to date) | |
* execute[a2enmod authn_file] action run (skipped due to not_if) | |
Recipe: apache2::mod_authz_default | |
* file[/etc/httpd/mods-available/authz_default.load] action create (up to date) | |
* execute[a2enmod authz_default] action run (skipped due to not_if) | |
Recipe: apache2::mod_authz_groupfile | |
* file[/etc/httpd/mods-available/authz_groupfile.load] action create (up to date) | |
* execute[a2enmod authz_groupfile] action run (skipped due to not_if) | |
Recipe: apache2::mod_authz_host | |
* file[/etc/httpd/mods-available/authz_host.load] action create (up to date) | |
* execute[a2enmod authz_host] action run (skipped due to not_if) | |
Recipe: apache2::mod_authz_user | |
* file[/etc/httpd/mods-available/authz_user.load] action create (up to date) | |
* execute[a2enmod authz_user] action run (skipped due to not_if) | |
Recipe: apache2::mod_autoindex | |
* template[/etc/httpd/mods-available/autoindex.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/autoindex.load] action create (up to date) | |
* execute[a2enmod autoindex] action run (skipped due to not_if) | |
Recipe: apache2::mod_dir | |
* template[/etc/httpd/mods-available/dir.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/dir.load] action create (up to date) | |
* execute[a2enmod dir] action run (skipped due to not_if) | |
Recipe: apache2::mod_env | |
* file[/etc/httpd/mods-available/env.load] action create (up to date) | |
* execute[a2enmod env] action run (skipped due to not_if) | |
Recipe: apache2::mod_mime | |
* template[/etc/httpd/mods-available/mime.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/mime.load] action create (up to date) | |
* execute[a2enmod mime] action run (skipped due to not_if) | |
Recipe: apache2::mod_negotiation | |
* template[/etc/httpd/mods-available/negotiation.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/negotiation.load] action create (up to date) | |
* execute[a2enmod negotiation] action run (skipped due to not_if) | |
Recipe: apache2::mod_setenvif | |
* template[/etc/httpd/mods-available/setenvif.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/setenvif.load] action create (up to date) | |
* execute[a2enmod setenvif] action run (skipped due to not_if) | |
Recipe: apache2::mod_log_config | |
* file[/etc/httpd/mods-available/log_config.load] action create (up to date) | |
* execute[a2enmod log_config] action run (skipped due to not_if) | |
Recipe: apache2::mod_logio | |
* file[/etc/httpd/mods-available/logio.load] action create (up to date) | |
* execute[a2enmod logio] action run (skipped due to not_if) | |
Recipe: apache2::default | |
* execute[a2dissite default] action run (skipped due to only_if) | |
* service[apache2] action start (up to date) | |
Recipe: apache2::mod_auth_openid | |
* package[gcc-c++] action install (up to date) | |
* package[httpd-devel] action install (up to date) | |
* package[curl-devel] action install (up to date) | |
* package[libtidy] action install (up to date) | |
* package[libtidy-devel] action install (up to date) | |
* package[sqlite-devel] action install (up to date) | |
* package[pcre-devel] action install (up to date) | |
* package[openssl-devel] action install (up to date) | |
* package[make] action install (up to date) | |
* remote_file[/var/chef/cache/libopkele-2.0.4.tar.gz] action create (up to date) | |
* bash[install libopkele] action run | |
* remote_file[/var/chef/cache/mod_auth_openid-95043901eab868400937642d9bc55d17e9dd069f.tar.gz] action create_if_missing (up to date) | |
* file[mod_auth_openid_dblocation] action nothing (up to date) | |
* bash[install mod_auth_openid] action run | |
* file[mod_auth_openid_dblocation] action delete | |
- delete file /var/cache/mod_auth_openid/mod_auth_openid.db | |
* directory[/var/cache/mod_auth_openid] action create (up to date) | |
* file[/var/cache/mod_auth_openid/mod_auth_openid.db] action create | |
- create new file /var/cache/mod_auth_openid/mod_auth_openid.db | |
Could not determine diff. Error: No such file or directory - diff -u /tmp/chef-tempfile20130307-26626-2yu5v /tmp/chef-diff20130307-26626-1k5j2jg | |
* template[/etc/httpd/mods-available/authopenid.load] action create (up to date) | |
* file[/etc/httpd/mods-available/authopenid.load] action create (up to date) | |
* execute[a2enmod authopenid] action run (skipped due to not_if) | |
Recipe: apache2::mod_ssl | |
* package[mod_ssl] action install (up to date) | |
* file[/etc/httpd/conf.d/ssl.conf] action delete (up to date) | |
* template[/etc/httpd/ports.conf] action create | |
- update template[/etc/httpd/ports.conf] from ad54ab to 905920 | |
Could not determine diff. Error: No such file or directory - diff -u /etc/httpd/ports.conf /tmp/chef-rendered-template20130307-26626-utixhp | |
* template[/etc/httpd/mods-available/ssl.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/ssl.load] action create (up to date) | |
* execute[a2enmod ssl] action run (skipped due to not_if) | |
Recipe: apache2::mod_rewrite | |
* file[/etc/httpd/mods-available/rewrite.load] action create (up to date) | |
* execute[a2enmod rewrite] action run (skipped due to not_if) | |
Recipe: apache2::mod_proxy | |
* template[/etc/httpd/mods-available/proxy.conf] action create (up to date) | |
* file[/etc/httpd/mods-available/proxy.load] action create (up to date) | |
* execute[a2enmod proxy] action run (skipped due to not_if) | |
Recipe: apache2::mod_proxy_http | |
* file[/etc/httpd/mods-available/proxy_http.load] action create (up to date) | |
* execute[a2enmod proxy_http] action run (skipped due to not_if) | |
Recipe: apache2::mod_proxy_balancer | |
* file[/etc/httpd/mods-available/proxy_balancer.load] action create (up to date) | |
* execute[a2enmod proxy_balancer] action run (skipped due to not_if) | |
Recipe: sensu::default | |
* ruby_block[sensu_service_trigger] action nothing (up to date) | |
Recipe: sensu::_linux | |
* yum_repository[sensu] action add (up to date) | |
* package[sensu] action install (up to date) | |
* template[/etc/default/sensu] action create (up to date) | |
Recipe: sensu::default | |
* directory[/etc/sensu/conf.d] action create (up to date) | |
* directory[/var/log/sensu] action create (up to date) | |
* directory[/etc/sensu/ssl] action create (up to date) | |
* file[/etc/sensu/ssl/cert.pem] action create (up to date) | |
* file[/etc/sensu/ssl/key.pem] action create (up to date) | |
* sensu_base_config[sensu.sea01.int.blueboxgrid.com] action create (up to date) | |
Recipe: <Dynamically Defined Resource> | |
* sensu_json_file[/etc/sensu/config.json] action create (up to date) | |
Recipe: yum::epel | |
* yum_key[RPM-GPG-KEY-EPEL-6] action add (up to date) | |
* yum_repository[epel] action create[2013-03-07T20:43:04-05:00] WARN: Cloning resource attributes for yum_key[RPM-GPG-KEY-EPEL-6] from prior resource (CHEF-3694) | |
[2013-03-07T20:43:04-05:00] WARN: Previous yum_key[RPM-GPG-KEY-EPEL-6]: /home/deploy/chef-solo/cookbooks/yum/recipes/epel.rb:22:in `from_file' | |
[2013-03-07T20:43:04-05:00] WARN: Current yum_key[RPM-GPG-KEY-EPEL-6]: /home/deploy/chef-solo/cookbooks/yum/providers/repository.rb:85:in `repo_config' | |
(up to date) | |
Recipe: <Dynamically Defined Resource> | |
* yum_key[RPM-GPG-KEY-EPEL-6] action add (up to date) | |
* execute[yum-makecache] action nothing (up to date) | |
* ruby_block[reload-internal-yum-cache] action nothing (up to date) | |
* template[/etc/yum.repos.d/epel.repo] action create (up to date) | |
Recipe: redis::server_package | |
* package[redis] action install (up to date) | |
Recipe: sensu::rabbitmq | |
* directory[/etc/rabbitmq/ssl] action create (up to date) | |
* file[/etc/rabbitmq/ssl/cacert.pem] action create (up to date) | |
* file[/etc/rabbitmq/ssl/cert.pem] action create (up to date) | |
* file[/etc/rabbitmq/ssl/key.pem] action create (up to date) | |
Recipe: erlang::package | |
* yum_repository[EPELErlangrepo] action add (skipped due to only_if) | |
* package[erlang] action install (up to date) | |
Recipe: rabbitmq::default | |
* remote_file[/var/chef/cache/rabbitmq-server-2.8.4-1.noarch.rpm] action create_if_missing (up to date) | |
* rpm_package[/var/chef/cache/rabbitmq-server-2.8.4-1.noarch.rpm] action install (up to date) | |
* template[/etc/rabbitmq/rabbitmq-env.conf] action create (up to date) | |
* template[/etc/rabbitmq/rabbitmq.config] action create (up to date) | |
* service[rabbitmq-server] action enable (up to date) | |
* service[rabbitmq-server] action start (up to date) | |
Recipe: rabbitmq::mgmt_console | |
* rabbitmq_plugin[rabbitmq_management] action enable (up to date) | |
* rabbitmq_plugin[rabbitmq_management_visualiser] action enable (up to date) | |
Recipe: sensu::rabbitmq | |
* service[restart rabbitmq-server] action nothing (up to date) | |
* rabbitmq_vhost[/sensu] action add (up to date) | |
* rabbitmq_user[sensu] action add (up to date) | |
* rabbitmq_user[sensu] action set_permissions (up to date) | |
Recipe: sensu::server_service | |
* service[sensu-server] action enable (up to date) | |
* service[sensu-server] action start (up to date) | |
Recipe: sensu::api_service | |
* service[sensu-api] action enable (up to date) | |
* service[sensu-api] action start (up to date) | |
Recipe: sensu::dashboard_service | |
* service[sensu-dashboard] action enable (up to date) | |
* service[sensu-dashboard] action start (up to date) | |
Recipe: sensu.sea01.int.blueboxgrid.com::sensu_dashboard_httpd | |
* cookbook_file[/etc/pki/tls/private/sensu.sea01.int.blueboxgrid.com.pem] action create (up to date) | |
* cookbook_file[/etc/httpd/sites-available/sensu_dashboard] action create (up to date) | |
* execute[a2ensite sensu_dashboard] action run (skipped due to not_if) | |
Recipe: apache2::default | |
* service[apache2] action restart | |
- restart service service[apache2] | |
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 "sensu_server" | |
description "setup a sensu server" | |
run_list( | |
"recipe[build-essential]", | |
"recipe[apache2]", | |
"recipe[apache2::mod_auth_openid]", | |
"recipe[apache2::mod_ssl]", | |
"recipe[apache2::mod_rewrite]", | |
"recipe[apache2::mod_proxy]", | |
"recipe[apache2::mod_proxy_http]", | |
"recipe[apache2::mod_proxy_balancer]", | |
"recipe[sensu]", | |
"recipe[sensu::redis]", | |
"recipe[sensu::rabbitmq]", | |
"recipe[sensu::server_service]", | |
"recipe[sensu::api_service]", | |
"recipe[sensu::dashboard_service]", | |
) | |
override_attributes( | |
{ | |
'sensu' => { | |
'dashboard' => { | |
'bind' => 'localhost', | |
'user' => nil, | |
'password' => nil, | |
} | |
} | |
} | |
) |
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
{ | |
"run_list":[ | |
"recipe[build-essential]", | |
"recipe[git]", | |
"recipe[sensu.sea01.int.blueboxgrid.com::campfire_handler]", | |
"recipe[sensu.sea01.int.blueboxgrid.com::install_community_plugins]", | |
"role[sensu_server]", | |
"recipe[sensu.sea01.int.blueboxgrid.com::sensu_dashboard_httpd]" | |
], | |
"sensu":{ | |
"dashboard": { | |
"user": null, | |
"password": null | |
} | |
} | |
} |
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
{ | |
"rabbitmq": { | |
"host": "localhost", | |
"port": 5671, | |
"ssl": { | |
"cert_chain_file": "/etc/sensu/ssl/cert.pem", | |
"private_key_file": "/etc/sensu/ssl/key.pem" | |
}, | |
"vhost": "/sensu", | |
"user": "sensu", | |
"password": "password" | |
}, | |
"redis": { | |
"host": "localhost", | |
"port": 6379 | |
}, | |
"api": { | |
"host": "localhost", | |
"port": 4567 | |
}, | |
"dashboard": { | |
"port": 8080, | |
"user": "admin", | |
"password": "secret", | |
"bind": "localhost" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment