Sunteți pe pagina 1din 41

valid_lft forever preferred_lft forever

[root@localhost ~]# vi /etc/hosts


[root@localhost ~]# vi /etc/hosts
[root@localhost ~]# vi /etc/hostname
[root@localhost ~]# chef-server-ctl reconfigure
Starting Chef Client, version 12.19.36
resolving cookbooks for run list: ["private-chef::default"]
Synchronizing Cookbooks:
- private-chef (0.1.0)
- enterprise (0.10.3)
- apt (6.1.0)
- yum (3.13.0)
- openssl (7.0.1)
- runit (3.0.5)
- yum-epel (2.1.1)
- packagecloud (0.3.0)
- compat_resource (12.19.0)
Installing Cookbook Gems:
Compiling Cookbooks...
Recipe: private-chef::default
* directory[/etc/opscode] action create (up to date)
* directory[/etc/opscode/logrotate.d] action create (up to date)
Converging 287 resources
* link[/usr/bin/private-chef-ctl] action create (up to date)
* link[/usr/bin/chef-server-ctl] action create (up to date)
* directory[/etc/opscode] action nothing (skipped due to action :nothing)
* directory[/etc/opscode/logrotate.d] action nothing (skipped due to action
:nothing)
* log[opscode_webui deprecation notice] action write (skipped due to only_if)
Recipe: private-chef::users
* linux_user[opscode] action create (up to date)
* group[opscode] action create (up to date)
Recipe: private-chef::private_keys
* file[/etc/opscode/pivotal.pem] action create (up to date)
* file[/etc/opscode/webui_priv.pem] action create (up to date)
* file[/etc/opscode/webui_pub.pem] action create (up to date)
Recipe: private-chef::default
* file[/etc/opscode/dark_launch_features.json] action create (up to date)
* directory[/etc/chef] action create (up to date)
* directory[/var/opt/opscode] action create (up to date)
* directory[/var/log/opscode] action create (up to date)
* private_chef_keepalived_safemode[warmfuzzy] action create (skipped due to
only_if)
Recipe: enterprise::runit
* component_runit_supervisor[private_chef] action create
* template[/etc/systemd/system/private_chef-runsvdir-start.service] action
create (up to date)
* execute[cleanup_old_unit_files] action run (skipped due to only_if)
* service[private_chef-runsvdir-start.service] action enable (up to date)
* service[private_chef-runsvdir-start.service] action start (up to date)
(up to date)
Recipe: private-chef::sysctl-updates
* execute[sysctl-reload] action nothing (skipped due to action :nothing)
* bash[dual ip4/ip6 portbind] action run (skipped due to only_if)
Recipe: private-chef::plugin_chef_run
* chef_run[recipe[chef-ha-drbd::disable]] action runInstalling Cookbook Gems:
Compiling Cookbooks...
Converging 0 resources
- Running chef-run with run list recipe[chef-ha-drbd::disable]
Recipe: private-chef::rabbitmq
* directory[/var/opt/opscode/rabbitmq] action create (up to date)
* directory[/var/opt/opscode/rabbitmq/etc] action create (up to date)
* directory[/var/opt/opscode/rabbitmq/db] action create (up to date)
* directory[/var/log/opscode/rabbitmq] action create (up to date)
* link[/var/opt/opscode/rabbitmq/db] action create (skipped due to not_if)
* link[/opt/opscode/embedded/bin/rabbitmqctl] action create (up to date)
* link[/opt/opscode/embedded/bin/rabbitmq-defaults] action create (up to date)
* link[/opt/opscode/embedded/bin/rabbitmq-env] action create (up to date)
* link[/opt/opscode/embedded/bin/rabbitmq-plugins] action create (up to date)
* link[/opt/opscode/embedded/bin/rabbitmq-server] action create (up to date)
* template[/opt/opscode/embedded/service/rabbitmq/sbin/rabbitmq-defaults] action
create (up to date)
* template[/var/opt/opscode/rabbitmq/etc/rabbitmq.conf] action create (up to
date)
* template[/var/opt/opscode/rabbitmq/etc/rabbitmq.config] action create
- update content in file /var/opt/opscode/rabbitmq/etc/rabbitmq.config from
d3cd7e to eb231d
--- /var/opt/opscode/rabbitmq/etc/rabbitmq.config 2017-11-10
13:29:38.880000000 +0530
+++ /var/opt/opscode/rabbitmq/etc/.chef-rabbitmq20171110-14852-2k9ydb.config
2017-11-10 13:38:41.312000000 +0530
@@ -3,8 +3,8 @@
{ssl, [{versions, ['tlsv1.2','tlsv1.1']}]},
{rabbit, [{tcp_listeners, [5672]},
{ssl_options,
- [{certfile, "/var/opt/opscode/nginx/ca/localhost.crt"},
- {keyfile, "/var/opt/opscode/nginx/ca/localhost.key"},
+ [{certfile, "/var/opt/opscode/nginx/ca/chef-server.crt"},
+ {keyfile, "/var/opt/opscode/nginx/ca/chef-server.key"},
{versions, ['tlsv1.2','tlsv1.1']}]}
]},
{rabbitmq_management,
- restore selinux security context
* execute[restart_rabbitmq_log_service] action nothing (skipped due to action
:nothing)
* template[/var/log/opscode/rabbitmq/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[rabbitmq] action nothing (skipped due to action :nothing)
Recipe: private-chef::rabbitmq
* runit_service[rabbitmq] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/rabbitmq] action create (up to date)
* template[/opt/opscode/sv/rabbitmq/run] action create (up to date)
* directory[/opt/opscode/sv/rabbitmq/log] action create (up to date)
* directory[/opt/opscode/sv/rabbitmq/log/main] action create (up to date)
* directory[/var/log/rabbitmq] action create (up to date)
* template[/opt/opscode/sv/rabbitmq/log/config] action create (up to date)
* link[/var/log/rabbitmq/config] action create (up to date)
* template[/opt/opscode/sv/rabbitmq/log/run] action create (up to date)
* directory[/opt/opscode/sv/rabbitmq/env] action create (up to date)
* ruby_block[Delete unmanaged env files for rabbitmq service] action run
(skipped due to only_if)
* template[/opt/opscode/sv/rabbitmq/check] action create (up to date)
* template[/opt/opscode/sv/rabbitmq/finish] action create (skipped due to
only_if)
* directory[/opt/opscode/sv/rabbitmq/control] action create (up to date)
* template[/opt/opscode/sv/rabbitmq/control/t] action create (up to date)
* link[/opt/opscode/init/rabbitmq] action create (up to date)
* file[/opt/opscode/sv/rabbitmq/down] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/rabbitmq] action create (up to date)
* ruby_block[wait for rabbitmq service socket] action run
- execute the ruby block wait for rabbitmq service socket

* execute[/opt/opscode/bin/private-chef-ctl start rabbitmq] action run


- execute /opt/opscode/bin/private-chef-ctl start rabbitmq
* execute[/opt/opscode/embedded/bin/chpst -u opscode -U opscode
/opt/opscode/embedded/bin/rabbitmqctl wait
/var/opt/opscode/rabbitmq/db/rabbit@localhost.pid] action run
- execute /opt/opscode/embedded/bin/chpst -u opscode -U opscode
/opt/opscode/embedded/bin/rabbitmqctl wait
/var/opt/opscode/rabbitmq/db/rabbit@localhost.pid
* execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /chef] action run
(skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl add_vhost /analytics] action run
(skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl add_user chef [PASSWORD]] action
run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl add_user actions [PASSWORD]]
action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl add_user rabbitmgmt [PASSWORD]]
action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl change_password chef [PASSWORD]]
action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl change_password actions
[PASSWORD]] action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl change_password rabbitmgmt
[PASSWORD]] action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /chef chef
".*" ".*" ".*"] action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics
chef ".*" ".*" ".*"] action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics
actions ".*" ".*" ".*"] action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p /analytics
rabbitmgmt ".*" ".*" ".*"] action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl set_permissions -p / rabbitmgmt
".*" ".*" ".*"] action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmq-plugins enable rabbitmq_management]
action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl set_user_tags rabbitmgmt
administrator] action run (skipped due to not_if)
* execute[/opt/opscode/embedded/bin/rabbitmqctl set_policy -p /analytics
max_length '(erchef|alaska|notifier.notifications|notifier_config)' '{"max-
length":10000}' --apply-to queues] action run
- execute /opt/opscode/embedded/bin/rabbitmqctl set_policy -p /analytics
max_length '(erchef|alaska|notifier.notifications|notifier_config)' '{"max-
length":10000}' --apply-to queues
* execute[/opt/opscode/embedded/bin/rabbitmqctl clear_policy -p /analytics
max_length] action run (skipped due to not_if)
Recipe: private-chef::postgresql
* linux_user[opscode-pgsql] action create (up to date)
* directory[/var/opt/opscode/postgresql] action create (up to date)
* file[/var/opt/opscode/postgresql/.profile] action create (up to date)
* directory[/var/log/opscode/postgresql/9.2] action create (up to date)
* directory[/var/opt/opscode/postgresql/9.2] action create (up to date)
* execute[sysctl] action nothing (skipped due to action :nothing)
* bash[add shm settings] action run (skipped due to not_if)
* private_chef_pg_upgrade[upgrade_if_necessary] action upgrade
- Database cluster is unchanged; nothing to upgrade
* private_chef_pg_cluster[/var/opt/opscode/postgresql/9.2/data] action init
* directory[/var/opt/opscode/postgresql/9.2/data] action create (up to date)
* execute[initialize_cluster_/var/opt/opscode/postgresql/9.2/data] action run
(skipped due to not_if)
* template[/var/opt/opscode/postgresql/9.2/data/postgresql.conf] action create
(up to date)
* template[/var/opt/opscode/postgresql/9.2/data/pg_hba.conf] action create (up
to date)
(up to date)
* link[/var/opt/opscode/postgresql/9.2/data] action create (skipped due to
not_if)
* execute[restart_postgresql_log_service] action nothing (skipped due to
action :nothing)
* template[/var/log/opscode/postgresql/9.2/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[postgresql] action nothing (skipped due to action :nothing)
Recipe: private-chef::postgresql
* runit_service[postgresql] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/postgresql] action create (up to date)
* template[/opt/opscode/sv/postgresql/run] action create (up to date)
* directory[/opt/opscode/sv/postgresql/log] action create (up to date)
* directory[/opt/opscode/sv/postgresql/log/main] action create (up to date)
* directory[/var/log/postgresql] action create (up to date)
* template[/opt/opscode/sv/postgresql/log/config] action create (up to date)
* link[/var/log/postgresql/config] action create (up to date)
* template[/opt/opscode/sv/postgresql/log/run] action create (up to date)
* directory[/opt/opscode/sv/postgresql/env] action create (up to date)
* ruby_block[Delete unmanaged env files for postgresql service] action run
(skipped due to only_if)
* template[/opt/opscode/sv/postgresql/check] action create (skipped due to
only_if)
* template[/opt/opscode/sv/postgresql/finish] action create (skipped due to
only_if)
* directory[/opt/opscode/sv/postgresql/control] action create (up to date)
* template[/opt/opscode/sv/postgresql/control/t] action create (up to date)
* link[/opt/opscode/init/postgresql] action create (up to date)
* file[/opt/opscode/sv/postgresql/down] action nothing (skipped due to
action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/postgresql] action create (up to date)
* ruby_block[wait for postgresql service socket] action run
- execute the ruby block wait for postgresql service socket

* execute[/opt/opscode/bin/private-chef-ctl start postgresql] action run


- execute /opt/opscode/bin/private-chef-ctl start postgresql
* ruby_block[wait for postgresql to start] action run
- execute the ruby block wait for postgresql to start
* private_chef_pg_user[opscode-pgsql] action create (up to date)
* private_chef_pg_database[opscode-pgsql] action create (up to date)
Recipe: private-chef::erchef_database
* private_chef_pg_user[opscode_chef] action create (up to date)
* private_chef_pg_user[opscode_chef_ro] action create (up to date)
* private_chef_pg_database[opscode_chef] action create (up to date)
* ruby_block[set opscode_chef ownership] action run
- execute the ruby block set opscode_chef ownership
* private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-
erchef/schema/baseline] action nothing (skipped due to action :nothing)
* private_chef_pg_sqitch[/opt/opscode/embedded/service/opscode-erchef/schema]
action nothing (skipped due to action :nothing)
* private_chef_pg_user_table_access[opscode_chef] action create
- GRANT CONNECT, TEMPORARY ON DATABASE opscode_chef TO opscode_chef
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT EXECUTE ON FUNCTIONS TO
opscode_chef;
- GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO opscode_chef
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT, UPDATE ON SEQUENCES
TO opscode_chef;
- GRANT SELECT, UPDATE ON ALL SEQUENCES IN SCHEMA public TO opscode_chef
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT INSERT, SELECT, UPDATE,
DELETE ON TABLES TO opscode_chef;
- GRANT INSERT, SELECT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO
opscode_chef
* private_chef_pg_user_table_access[opscode_chef_ro] action create
- GRANT CONNECT ON DATABASE opscode_chef TO opscode_chef_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT EXECUTE ON FUNCTIONS TO
opscode_chef_ro;
- GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO opscode_chef_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON SEQUENCES TO
opscode_chef_ro;
- GRANT SELECT ON ALL SEQUENCES IN SCHEMA public TO opscode_chef_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO
opscode_chef_ro;
- GRANT SELECT ON ALL TABLES IN SCHEMA public TO opscode_chef_ro
* directory[/opt/opscode/embedded/service/enterprise-chef-server-schema] action
delete (up to date)
Recipe: private-chef::bifrost_database
* private_chef_pg_user[bifrost] action create (up to date)
* private_chef_pg_user[bifrost_ro] action create (up to date)
* private_chef_pg_database[bifrost] action create (up to date)
* private_chef_pg_user_table_access[bifrost] action create
- GRANT CONNECT, TEMPORARY ON DATABASE bifrost TO bifrost
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT EXECUTE ON FUNCTIONS TO
bifrost;
- GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO bifrost
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT, UPDATE ON SEQUENCES
TO bifrost;
- GRANT SELECT, UPDATE ON ALL SEQUENCES IN SCHEMA public TO bifrost
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT INSERT, SELECT, UPDATE,
DELETE ON TABLES TO bifrost;
- GRANT INSERT, SELECT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO
bifrost
* private_chef_pg_user_table_access[bifrost_ro] action create
- GRANT CONNECT ON DATABASE bifrost TO bifrost_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT EXECUTE ON FUNCTIONS TO
bifrost_ro;
- GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO bifrost_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON SEQUENCES TO
bifrost_ro;
- GRANT SELECT ON ALL SEQUENCES IN SCHEMA public TO bifrost_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO
bifrost_ro;
- GRANT SELECT ON ALL TABLES IN SCHEMA public TO bifrost_ro
* private_chef_pg_sqitch[/opt/opscode/embedded/service/oc_bifrost/db] action
nothing (skipped due to action :nothing)
Recipe: private-chef::oc_id_database
* private_chef_pg_user[oc_id] action create (up to date)
* private_chef_pg_user[oc_id_ro] action create (up to date)
* private_chef_pg_database[oc_id] action create (up to date)
* private_chef_pg_user_table_access[oc_id_ro] action create
- GRANT CONNECT ON DATABASE oc_id TO oc_id_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT EXECUTE ON FUNCTIONS TO
oc_id_ro;
- GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO oc_id_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON SEQUENCES TO
oc_id_ro;
- GRANT SELECT ON ALL SEQUENCES IN SCHEMA public TO oc_id_ro
- ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO oc_id_ro;
- GRANT SELECT ON ALL TABLES IN SCHEMA public TO oc_id_ro
Recipe: private-chef::oc_bifrost
* execute[/opt/opscode/bin/private-chef-ctl stop opscode-authz] action run
- execute /opt/opscode/bin/private-chef-ctl stop opscode-authz
Recipe: <Dynamically Defined Resource>
* service[opscode-authz] action nothing (skipped due to action :nothing)
Recipe: private-chef::oc_bifrost
* runit_service[opscode-authz] action disable
* ruby_block[disable opscode-authz] action run (skipped due to only_if)
(up to date)
* directory[/opt/opscode/sv/opscode-authz] action delete (up to date)
* directory[/var/opt/opscode/oc_bifrost] action create (up to date)
* directory[/var/opt/opscode/oc_bifrost/bin] action create (up to date)
* directory[/var/log/opscode/oc_bifrost] action create (up to date)
* directory[/var/log/opscode/oc_bifrost/sasl] action create (up to date)
* link[/opt/opscode/embedded/service/oc_bifrost/log] action create (up to date)
* template[/var/opt/opscode/oc_bifrost/sys.config] action create (up to date)
* link[/opt/opscode/embedded/service/oc_bifrost/sys.config] action create (up to
date)
* template[/var/opt/opscode/oc_bifrost/vm.args] action create (up to date)
* link[/opt/opscode/embedded/service/oc_bifrost/vm.args] action create (up to
date)
* execute[restart_oc_bifrost_log_service] action nothing (skipped due to
action :nothing)
* template[/var/log/opscode/oc_bifrost/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[oc_bifrost] action nothing (skipped due to action :nothing)
Recipe: private-chef::oc_bifrost
* runit_service[oc_bifrost] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/oc_bifrost] action create (up to date)
* template[/opt/opscode/sv/oc_bifrost/run] action create (up to date)
* directory[/opt/opscode/sv/oc_bifrost/log] action create (up to date)
* directory[/opt/opscode/sv/oc_bifrost/log/main] action create (up to date)
* directory[/var/log/oc_bifrost] action create (up to date)
* template[/opt/opscode/sv/oc_bifrost/log/config] action create (up to date)
* link[/var/log/oc_bifrost/config] action create (up to date)
* template[/opt/opscode/sv/oc_bifrost/log/run] action create (up to date)
* directory[/opt/opscode/sv/oc_bifrost/env] action create (up to date)
* ruby_block[Delete unmanaged env files for oc_bifrost service] action run
(skipped due to only_if)
* template[/opt/opscode/sv/oc_bifrost/check] action create (skipped due to
only_if)
* template[/opt/opscode/sv/oc_bifrost/finish] action create (skipped due to
only_if)
* directory[/opt/opscode/sv/oc_bifrost/control] action create (up to date)
* link[/opt/opscode/init/oc_bifrost] action create (up to date)
* file[/opt/opscode/sv/oc_bifrost/down] action nothing (skipped due to
action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/oc_bifrost] action create (up to date)
* ruby_block[wait for oc_bifrost service socket] action run
- execute the ruby block wait for oc_bifrost service socket

Recipe: private-chef::oc_id
* directory[/var/opt/opscode/oc_id] action create (up to date)
* directory[/var/opt/opscode/oc_id/config] action create (up to date)
* directory[/var/opt/opscode/oc_id/tmp] action create (up to date)
* directory[/var/log/opscode/oc_id] action create (up to date)
* directory[/opt/opscode/embedded/service/oc_id/log] action delete (skipped due
to not_if)
* directory[/opt/opscode/embedded/service/oc_id/tmp] action delete (skipped due
to not_if)
* link[/opt/opscode/embedded/service/oc_id/log] action create (up to date)
* link[/opt/opscode/embedded/service/oc_id/tmp] action create (up to date)
* file[/var/opt/opscode/oc_id/config/production.yml] action create (up to date)
* file[/opt/opscode/embedded/service/oc_id/config/settings/production.yml] action
delete (skipped due to not_if)
* link[/opt/opscode/embedded/service/oc_id/config/settings/production.yml] action
create (up to date)
* template[/var/opt/opscode/oc_id/config/secret_token.rb] action create (up to
date)
* file[/opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb]
action delete (skipped due to not_if)
* link[/opt/opscode/embedded/service/oc_id/config/initializers/secret_token.rb]
action create (up to date)
* template[/var/opt/opscode/oc_id/config/database.yml] action create (up to date)
* file[/opt/opscode/embedded/service/oc_id/config/database.yml] action delete
(skipped due to not_if)
* link[/opt/opscode/embedded/service/oc_id/config/database.yml] action create (up
to date)
* execute[chown -R opscode:opscode /var/log/opscode/oc_id] action run
- execute chown -R opscode:opscode /var/log/opscode/oc_id
* execute[oc_id_schema] action run
- execute sensitive resource
* execute[restart_oc_id_log_service] action nothing (skipped due to action
:nothing)
* template[/var/log/opscode/oc_id/config] action create
- change owner from 'opscode' to 'root'
- change group from 'opscode' to 'root'
- restore selinux security context
Recipe: <Dynamically Defined Resource>
* service[oc_id] action nothing (skipped due to action :nothing)
Recipe: private-chef::oc_id
* runit_service[oc_id] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/oc_id] action create (up to date)
* template[/opt/opscode/sv/oc_id/run] action create (up to date)
* directory[/opt/opscode/sv/oc_id/log] action create (up to date)
* directory[/opt/opscode/sv/oc_id/log/main] action create (up to date)
* directory[/var/log/oc_id] action create (up to date)
* template[/opt/opscode/sv/oc_id/log/config] action create (up to date)
* link[/var/log/oc_id/config] action create (up to date)
* template[/opt/opscode/sv/oc_id/log/run] action create (up to date)
* directory[/opt/opscode/sv/oc_id/env] action create (up to date)
* ruby_block[Delete unmanaged env files for oc_id service] action run (skipped
due to only_if)
* template[/opt/opscode/sv/oc_id/check] action create (skipped due to only_if)
* template[/opt/opscode/sv/oc_id/finish] action create (skipped due to only_if)
* directory[/opt/opscode/sv/oc_id/control] action create (up to date)
* link[/opt/opscode/init/oc_id] action create (up to date)
* file[/opt/opscode/sv/oc_id/down] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/oc_id] action create (up to date)
* ruby_block[wait for oc_id service socket] action run
- execute the ruby block wait for oc_id service socket

* directory[/var/opt/opscode/nginx/etc/addon.d] action create (up to date)


* template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_upstreams.conf] action
create (up to date)
* template[/var/opt/opscode/nginx/etc/addon.d/40-oc_id_external.conf] action
create (up to date)
Recipe: private-chef::opscode-solr4
* directory[/var/opt/opscode/opscode-solr4] action create (up to date)
* directory[/var/opt/opscode/opscode-solr4/data] action create (up to date)
* directory[/var/opt/opscode/opscode-solr4/home] action create (up to date)
* directory[/var/opt/opscode/opscode-solr4/] action create (up to date)
* directory[/var/log/opscode/opscode-solr4] action create (up to date)
* directory[/var/opt/opscode/opscode-solr4/home/collection1] action create (up to
date)
* directory[/var/opt/opscode/opscode-solr4/home/collection1/conf] action create
(up to date)
* link[/var/opt/opscode/opscode-solr4/data] action create (skipped due to not_if)
* cookbook_file[/var/opt/opscode/opscode-solr4/home/solr.xml] action create (up
to date)
* file[/var/opt/opscode/opscode-solr4/home/collection1/core.properties] action
create (up to date)
* template[/var/opt/opscode/opscode-solr4/home/collection1/conf/solrconfig.xml]
action create (up to date)
* cookbook_file[/var/opt/opscode/opscode-solr4/home/collection1/conf/schema.xml]
action create (up to date)
* template[/opt/opscode/embedded/service/opscode-solr4/jetty/etc/jetty.xml]
action create (up to date)
* template[/opt/opscode/embedded/service/opscode-solr4/jetty/contexts/solr-jetty-
context.xml] action create (up to date)
* execute[chown -R opscode /opt/opscode/embedded/service/opscode-solr4/jetty]
action run
- execute chown -R opscode /opt/opscode/embedded/service/opscode-solr4/jetty
* execute[restart_opscode-solr4_log_service] action nothing (skipped due to
action :nothing)
* template[/var/log/opscode/opscode-solr4/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[opscode-solr4] action nothing (skipped due to action :nothing)
Recipe: private-chef::opscode-solr4
* runit_service[opscode-solr4] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/opscode-solr4] action create (up to date)
* template[/opt/opscode/sv/opscode-solr4/run] action create (up to date)
* directory[/opt/opscode/sv/opscode-solr4/log] action create (up to date)
* directory[/opt/opscode/sv/opscode-solr4/log/main] action create (up to date)
* directory[/var/log/opscode-solr4] action create (up to date)
* template[/opt/opscode/sv/opscode-solr4/log/config] action create (up to date)
* link[/var/log/opscode-solr4/config] action create (up to date)
* template[/opt/opscode/sv/opscode-solr4/log/run] action create (up to date)
* directory[/opt/opscode/sv/opscode-solr4/env] action create (up to date)
* ruby_block[Delete unmanaged env files for opscode-solr4 service] action run
(skipped due to only_if)
* template[/opt/opscode/sv/opscode-solr4/check] action create (skipped due to
only_if)
* template[/opt/opscode/sv/opscode-solr4/finish] action create (skipped due to
only_if)
* directory[/opt/opscode/sv/opscode-solr4/control] action create (up to date)
* link[/opt/opscode/init/opscode-solr4] action create (up to date)
* file[/opt/opscode/sv/opscode-solr4/down] action nothing (skipped due to
action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/opscode-solr4] action create (up to date)
* ruby_block[wait for opscode-solr4 service socket] action run
- execute the ruby block wait for opscode-solr4 service socket

* file[/etc/opscode/logrotate.d/opscode-solr4] action delete (up to date)


Recipe: private-chef::opscode-expander
* directory[/var/opt/opscode/opscode-expander] action create (up to date)
* directory[/var/opt/opscode/opscode-expander/etc] action create (up to date)
* directory[/var/log/opscode/opscode-expander] action create (up to date)
* template[/var/opt/opscode/opscode-expander/etc/expander.rb] action create (up
to date)
* link[/opt/opscode/embedded/service/opscode-expander/conf/opscode-expander.rb]
action create (up to date)
* execute[restart_opscode-expander_log_service] action nothing (skipped due to
action :nothing)
* template[/var/log/opscode/opscode-expander/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[opscode-expander] action nothing (skipped due to action :nothing)
Recipe: private-chef::opscode-expander
* runit_service[opscode-expander] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/opscode-expander] action create (up to date)
* template[/opt/opscode/sv/opscode-expander/run] action create (up to date)
* directory[/opt/opscode/sv/opscode-expander/log] action create (up to date)
* directory[/opt/opscode/sv/opscode-expander/log/main] action create (up to
date)
* directory[/var/log/opscode-expander] action create (up to date)
* template[/opt/opscode/sv/opscode-expander/log/config] action create (up to
date)
* link[/var/log/opscode-expander/config] action create (up to date)
* template[/opt/opscode/sv/opscode-expander/log/run] action create (up to date)
* directory[/opt/opscode/sv/opscode-expander/env] action create (up to date)
* ruby_block[Delete unmanaged env files for opscode-expander service] action
run (skipped due to only_if)
* template[/opt/opscode/sv/opscode-expander/check] action create (skipped due
to only_if)
* template[/opt/opscode/sv/opscode-expander/finish] action create (skipped due
to only_if)
* directory[/opt/opscode/sv/opscode-expander/control] action create (up to
date)
* link[/opt/opscode/init/opscode-expander] action create (up to date)
* file[/opt/opscode/sv/opscode-expander/down] action nothing (skipped due to
action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/opscode-expander] action create (up to date)
* ruby_block[wait for opscode-expander service socket] action run
- execute the ruby block wait for opscode-expander service socket

Recipe: private-chef::bookshelf
* template[/opt/opscode/embedded/bin/cookbook_migration.sh] action create (up to
date)
* directory[/var/opt/opscode/bookshelf] action create (up to date)
* directory[/var/log/opscode/bookshelf] action create (up to date)
* directory[/var/log/opscode/bookshelf/sasl] action create (up to date)
* directory[/var/opt/opscode/bookshelf/data] action create (up to date)
* execute[cookbook migration] action run (skipped due to not_if)
* link[/opt/opscode/embedded/service/bookshelf/log] action create (up to date)
* template[/var/opt/opscode/bookshelf/sys.config] action create (up to date)
* link[/opt/opscode/embedded/service/bookshelf/sys.config] action create (up to
date)
* template[/var/opt/opscode/bookshelf/vm.args] action create (up to date)
* link[/opt/opscode/embedded/service/bookshelf/vm.args] action create (up to
date)
* execute[restart_bookshelf_log_service] action nothing (skipped due to action
:nothing)
* template[/var/log/opscode/bookshelf/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[bookshelf] action nothing (skipped due to action :nothing)
Recipe: private-chef::bookshelf
* runit_service[bookshelf] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/bookshelf] action create (up to date)
* template[/opt/opscode/sv/bookshelf/run] action create (up to date)
* directory[/opt/opscode/sv/bookshelf/log] action create (up to date)
* directory[/opt/opscode/sv/bookshelf/log/main] action create (up to date)
* directory[/var/log/bookshelf] action create (up to date)
* template[/opt/opscode/sv/bookshelf/log/config] action create (up to date)
* link[/var/log/bookshelf/config] action create (up to date)
* template[/opt/opscode/sv/bookshelf/log/run] action create (up to date)
* directory[/opt/opscode/sv/bookshelf/env] action create (up to date)
* ruby_block[Delete unmanaged env files for bookshelf service] action run
(skipped due to only_if)
* template[/opt/opscode/sv/bookshelf/check] action create (skipped due to
only_if)
* template[/opt/opscode/sv/bookshelf/finish] action create (skipped due to
only_if)
* directory[/opt/opscode/sv/bookshelf/control] action create (up to date)
* link[/opt/opscode/init/bookshelf] action create (up to date)
* file[/opt/opscode/sv/bookshelf/down] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/bookshelf] action create (up to date)
* ruby_block[wait for bookshelf service socket] action run
- execute the ruby block wait for bookshelf service socket

Recipe: private-chef::opscode-erchef
* directory[/var/opt/opscode/opscode-erchef] action create (up to date)
* directory[/var/log/opscode/opscode-erchef] action create (up to date)
* directory[/var/log/opscode/opscode-erchef/sasl] action create (up to date)
* link[/opt/opscode/embedded/service/opscode-erchef/log] action create (up to
date)
* template[/var/opt/opscode/opscode-erchef/sys.config] action create
- update content in file /var/opt/opscode/opscode-erchef/sys.config from fbced0
to 97c94d
--- /var/opt/opscode/opscode-erchef/sys.config 2017-11-10
13:31:29.138000000 +0530
+++ /var/opt/opscode/opscode-erchef/.chef-sys20171110-14852-y11owu.config
2017-11-10 13:39:19.094000000 +0530
@@ -95,7 +95,7 @@
{actions_user, <<"actions">>},
{actions_vhost, <<"/analytics">>},
{actions_exchange, <<"actions">>},
- {actions_fqdn, <<"localhost">>},
+ {actions_fqdn, <<"chef-server">>},
{max_request_size, 1000000},
{server_version, ""},
{health_ping_timeout, 400},
@@ -195,7 +195,7 @@
]},

{chef_objects, [
- {s3_url, "https://localhost"},
+ {s3_url, "https://chef-server"},
{s3_external_url, host_header},
{s3_platform_bucket_name, "bookshelf"},
{s3_url_ttl, 28800},
- restore selinux security context
* execute[remove_erchef_siz_files] action run
- execute rm -f *.siz
* execute[remove_erchef_siz_files] action nothing (skipped due to action
:nothing)
* link[/opt/opscode/embedded/service/opscode-erchef/sys.config] action create (up
to date)
* template[/var/opt/opscode/opscode-erchef/vm.args] action create (up to date)
* link[/opt/opscode/embedded/service/opscode-erchef/vm.args] action create (up to
date)
* execute[restart_opscode-erchef_log_service] action nothing (skipped due to
action :nothing)
* template[/var/log/opscode/opscode-erchef/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[opscode-erchef] action nothing (skipped due to action :nothing)
Recipe: private-chef::opscode-erchef
* runit_service[opscode-erchef] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/opscode-erchef] action create (up to date)
* template[/opt/opscode/sv/opscode-erchef/run] action create (up to date)
* directory[/opt/opscode/sv/opscode-erchef/log] action create (up to date)
* directory[/opt/opscode/sv/opscode-erchef/log/main] action create (up to date)
* directory[/var/log/opscode-erchef] action create (up to date)
* template[/opt/opscode/sv/opscode-erchef/log/config] action create (up to
date)
* link[/var/log/opscode-erchef/config] action create (up to date)
* template[/opt/opscode/sv/opscode-erchef/log/run] action create (up to date)
* directory[/opt/opscode/sv/opscode-erchef/env] action create (up to date)
* ruby_block[Delete unmanaged env files for opscode-erchef service] action run
(skipped due to only_if)
* template[/opt/opscode/sv/opscode-erchef/check] action create (skipped due to
only_if)
* template[/opt/opscode/sv/opscode-erchef/finish] action create (skipped due to
only_if)
* directory[/opt/opscode/sv/opscode-erchef/control] action create (up to date)
* link[/opt/opscode/init/opscode-erchef] action create (up to date)
* file[/opt/opscode/sv/opscode-erchef/down] action nothing (skipped due to
action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/opscode-erchef] action create (up to date)
* ruby_block[wait for opscode-erchef service socket] action run
- execute the ruby block wait for opscode-erchef service socket

Recipe: private-chef::opscode-chef-mover
* directory[/var/opt/opscode/opscode-chef-mover] action create (up to date)
* directory[/var/opt/opscode/opscode-chef-mover/etc] action create (up to date)
* directory[/var/opt/opscode/opscode-chef-mover/data] action create (up to date)
* directory[/var/log/opscode/opscode-chef-mover] action create (up to date)
* directory[/var/log/opscode/opscode-chef-mover/sasl] action create (up to date)
* link[/opt/opscode/embedded/service/opscode-chef-mover/log] action create (up to
date)
* template[/var/opt/opscode/opscode-chef-mover/sys.config] action create
- update content in file /var/opt/opscode/opscode-chef-mover/sys.config from
90d4b8 to 6cf30c
--- /var/opt/opscode/opscode-chef-mover/sys.config 2017-11-10
13:31:45.801000000 +0530
+++ /var/opt/opscode/opscode-chef-mover/.chef-sys20171110-14852-86825p.config
2017-11-10 13:39:19.288000000 +0530
@@ -77,7 +77,7 @@
%% END COUCHDB REMOVE THESE
]},
{chef_objects, [
- {s3_url, "https://localhost"},
+ {s3_url, "https://chef-server"},
{s3_platform_bucket_name, "bookshelf"},
{s3_url_ttl, 28800},
{s3_parallel_ops_timeout, 5000},
- restore selinux security context
* link[/opt/opscode/embedded/service/opscode-chef-mover/sys.config] action create
(up to date)
* template[/var/opt/opscode/opscode-chef-mover/vm.args] action create (up to
date)
* link[/opt/opscode/embedded/service/opscode-chef-mover/vm.args] action create
(up to date)
* execute[restart_opscode-chef-mover_log_service] action nothing (skipped due to
action :nothing)
* template[/var/log/opscode/opscode-chef-mover/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[opscode-chef-mover] action nothing (skipped due to action :nothing)
Recipe: private-chef::opscode-chef-mover
* runit_service[opscode-chef-mover] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/opscode-chef-mover] action create (up to date)
* template[/opt/opscode/sv/opscode-chef-mover/run] action create (up to date)
* directory[/opt/opscode/sv/opscode-chef-mover/log] action create (up to date)
* directory[/opt/opscode/sv/opscode-chef-mover/log/main] action create (up to
date)
* directory[/var/log/opscode-chef-mover] action create (up to date)
* template[/opt/opscode/sv/opscode-chef-mover/log/config] action create (up to
date)
* link[/var/log/opscode-chef-mover/config] action create (up to date)
* template[/opt/opscode/sv/opscode-chef-mover/log/run] action create (up to
date)
* directory[/opt/opscode/sv/opscode-chef-mover/env] action create (up to date)
* ruby_block[Delete unmanaged env files for opscode-chef-mover service] action
run (skipped due to only_if)
* template[/opt/opscode/sv/opscode-chef-mover/check] action create (skipped due
to only_if)
* template[/opt/opscode/sv/opscode-chef-mover/finish] action create (skipped
due to only_if)
* directory[/opt/opscode/sv/opscode-chef-mover/control] action create (up to
date)
* link[/opt/opscode/init/opscode-chef-mover] action create (up to date)
* file[/opt/opscode/sv/opscode-chef-mover/down] action nothing (skipped due to
action :nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/opscode-chef-mover] action create (up to date)
* ruby_block[wait for opscode-chef-mover service socket] action run
- execute the ruby block wait for opscode-chef-mover service socket

* log[stop runit_service[opscode-chef-mover]] action write

* runit_service[opscode-chef-mover] action down


- send down to runit_service[opscode-chef-mover]
Recipe: private-chef::redis_lb
* directory[/var/opt/opscode/redis_lb] action create (up to date)
* directory[/var/opt/opscode/redis_lb/etc] action create (up to date)
* directory[/var/opt/opscode/redis_lb/data] action create (up to date)
* directory[/var/log/opscode/redis_lb] action create (up to date)
* link[/var/opt/opscode/redis_lb/data] action create (skipped due to not_if)
* template[/var/opt/opscode/redis_lb/etc/redis.conf] action create (up to date)
* execute[restart_redis_lb_log_service] action nothing (skipped due to action
:nothing)
* template[/var/log/opscode/redis_lb/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[redis_lb] action nothing (skipped due to action :nothing)
Recipe: private-chef::redis_lb
* runit_service[redis_lb] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/redis_lb] action create (up to date)
* template[/opt/opscode/sv/redis_lb/run] action create (up to date)
* directory[/opt/opscode/sv/redis_lb/log] action create (up to date)
* directory[/opt/opscode/sv/redis_lb/log/main] action create (up to date)
* directory[/var/log/redis_lb] action create (up to date)
* template[/opt/opscode/sv/redis_lb/log/config] action create (up to date)
* link[/var/log/redis_lb/config] action create (up to date)
* template[/opt/opscode/sv/redis_lb/log/run] action create (up to date)
* directory[/opt/opscode/sv/redis_lb/env] action create (up to date)
* ruby_block[Delete unmanaged env files for redis_lb service] action run
(skipped due to only_if)
* template[/opt/opscode/sv/redis_lb/check] action create (skipped due to
only_if)
* template[/opt/opscode/sv/redis_lb/finish] action create (skipped due to
only_if)
* directory[/opt/opscode/sv/redis_lb/control] action create (up to date)
* link[/opt/opscode/init/redis_lb] action create (up to date)
* file[/opt/opscode/sv/redis_lb/down] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/redis_lb] action create (up to date)
* ruby_block[wait for redis_lb service socket] action run
- execute the ruby block wait for redis_lb service socket

Recipe: <Dynamically Defined Resource>


* service[redis_lb] action nothing (skipped due to action :nothing)
* service[redis_lb] action nothing (skipped due to action :nothing)
Recipe: private-chef::redis_lb
* runit_service[redis_lb] action restart (up to date)
* template[/etc/opscode/logrotate.d/redis_lb] action create (up to date)
* ruby_block[set_lb_redis_values] action create
- execute the ruby block set_lb_redis_values
Recipe: private-chef::nginx
* directory[/var/log/opscode/nginx] action create (up to date)
* directory[/var/opt/opscode/nginx] action create (up to date)
* directory[/var/opt/opscode/nginx/ca] action create (up to date)
* directory[/var/opt/opscode/nginx/cache] action create (up to date)
* directory[/var/opt/opscode/nginx/cache-tmp] action create (up to date)
* directory[/var/opt/opscode/nginx/etc] action create (up to date)
* directory[/var/opt/opscode/nginx/etc/addon.d] action create (up to date)
* directory[/var/opt/opscode/nginx/etc/nginx.d] action create (up to date)
* directory[/var/opt/opscode/nginx/etc/scripts] action create (up to date)
* directory[/var/opt/opscode/nginx/html] action create (up to date)
* directory[/var/opt/opscode/nginx/tmp] action create (up to date)
* file[/var/log/opscode/nginx/access.log] action create (up to date)
* file[/var/log/opscode/nginx/error.log] action create (up to date)
* file[/var/log/opscode/nginx/current] action create (up to date)
* openssl_x509[/var/opt/opscode/nginx/ca/chef-server.crt] action create
- Create openssl_x509[/var/opt/opscode/nginx/ca/chef-server.crt]
* file[/var/opt/opscode/nginx/ca/chef-server.crt] action create_if_missing
- create new file /var/opt/opscode/nginx/ca/chef-server.crt
- update content in file /var/opt/opscode/nginx/ca/chef-server.crt from none
to 64916b
- suppressed sensitive resource
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* file[/var/opt/opscode/nginx/ca/chef-server.key] action create_if_missing
- create new file /var/opt/opscode/nginx/ca/chef-server.key
- update content in file /var/opt/opscode/nginx/ca/chef-server.key from none
to baf6ef
- suppressed sensitive resource
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context

* openssl_dhparam[/var/opt/opscode/nginx/ca/dhparams.pem] action create (up to


date)
* remote_directory[/var/opt/opscode/nginx/html] action create
Recipe: <Dynamically Defined Resource>
* cookbook_file[/var/opt/opscode/nginx/html/404.html] action create (up to
date)
* cookbook_file[/var/opt/opscode/nginx/html/503.json] action create (up to
date)
* cookbook_file[/var/opt/opscode/nginx/html/favicon.ico] action create (up to
date)
* cookbook_file[/var/opt/opscode/nginx/html/index.html] action create (up to
date)
* cookbook_file[/var/opt/opscode/nginx/html/css/all.css] action create (up to
date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-blocks-b.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-blocks-t.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-body.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-close.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-footer.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-login-form-b.png] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-login-form-t.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-main-b.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-main-t.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bg-sidebar-title.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/btn-go.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/btn-more.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/btn-submit.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-about.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-blog-title.gif]
action create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-blog.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-friends.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-heading.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-next.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-platform.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-platform2-item.gif]
action create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-previous.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-subscribe.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/bullet-subscribe2.gif]
action create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/hd-header.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/image.jpg] action create (up
to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/image2.jpg] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/image3.jpg] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/logo.gif] action create (up
to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/logo.png] action create (up
to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/logo.svg] action create (up
to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/nav-active.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/nav-bg.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/nav-hover.gif] action create
(up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/photo.jpg] action create (up
to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/separator-blocks.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/separator-footer-bottom.gif]
action create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/separator-footer-list.gif]
action create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/separator-login.gif] action
create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/separator-post-info.gif]
action create (up to date)
* cookbook_file[/var/opt/opscode/nginx/html/images/upMenuArrow.png] action
create (up to date)
(up to date)
Recipe: private-chef::nginx
* template[/var/opt/opscode/nginx/etc/scripts/config.lua] action create (up to
date)
* template[/var/opt/opscode/nginx/etc/scripts/dispatch.lua] action create (up to
date)
* template[/var/opt/opscode/nginx/etc/scripts/resolver.lua] action create (up to
date)
* template[/var/opt/opscode/nginx/etc/scripts/route_checks.lua] action create (up
to date)
* template[/var/opt/opscode/nginx/etc/scripts/routes.lua] action create (up to
date)
* template[/var/opt/opscode/nginx/etc/scripts/dispatch_route.lua] action create
(up to date)
* template[/var/opt/opscode/nginx/etc/scripts/validator.lua] action create (up to
date)
* template[/var/opt/opscode/nginx/etc/chef_https_lb.conf] action create
- update content in file /var/opt/opscode/nginx/etc/chef_https_lb.conf from
1fdeb9 to e18f4b
--- /var/opt/opscode/nginx/etc/chef_https_lb.conf 2017-11-10
13:34:05.114000000 +0530
+++ /var/opt/opscode/nginx/etc/.chef-chef_https_lb20171110-14852-kvr4ii.conf
2017-11-10 13:39:20.854000000 +0530
@@ -1,13 +1,13 @@
server {
listen 443;
- server_name localhost;
+ server_name chef-server;

set_by_lua $data_collector_token 'return


os.getenv("DATA_COLLECTOR_TOKEN")';

access_log /var/log/opscode/nginx/access.log opscode;


ssl on;
- ssl_certificate /var/opt/opscode/nginx/ca/localhost.crt;
- ssl_certificate_key /var/opt/opscode/nginx/ca/localhost.key;
+ ssl_certificate /var/opt/opscode/nginx/ca/chef-server.crt;
+ ssl_certificate_key /var/opt/opscode/nginx/ca/chef-server.key;
ssl_dhparam /var/opt/opscode/nginx/ca/dhparams.pem;

ssl_session_timeout 5m;
- restore selinux security context
* template[/var/opt/opscode/nginx/etc/chef_http_lb.conf] action create
- update content in file /var/opt/opscode/nginx/etc/chef_http_lb.conf from
71c618 to 64ac51
--- /var/opt/opscode/nginx/etc/chef_http_lb.conf 2017-11-10
13:34:05.210000000 +0530
+++ /var/opt/opscode/nginx/etc/.chef-chef_http_lb20171110-14852-1nqdpy.conf
2017-11-10 13:39:20.905000000 +0530
@@ -1,6 +1,6 @@
server {
listen 80;
- server_name localhost;
+ server_name chef-server;

set_by_lua $data_collector_token 'return


os.getenv("DATA_COLLECTOR_TOKEN")';

- restore selinux security context


* template[/var/opt/opscode/nginx/etc/nginx.conf] action create
- update content in file /var/opt/opscode/nginx/etc/nginx.conf from 504e66 to
4c79b7
--- /var/opt/opscode/nginx/etc/nginx.conf 2017-11-10 13:34:05.280000000 +0530
+++ /var/opt/opscode/nginx/etc/.chef-nginx20171110-14852-9eovki.conf
2017-11-10 13:39:20.949000000 +0530
@@ -104,7 +104,7 @@
server {
listen 9680;
# The name doesn't matter; this is the only listener on this port
- server_name localhost;
+ server_name chef-server;

client_max_body_size 250m;
proxy_set_header Host $host;
@@ -136,7 +136,7 @@
# internal service access for oc_bifrost
server {
listen 9683;
- server_name localhost;
+ server_name chef-server;

client_max_body_size 250m;
proxy_set_header Host $host;
- restore selinux security context
* cookbook_file[/var/opt/opscode/nginx/etc/addon.d/README.md] action create (up
to date)
* execute[restart_nginx_log_service] action nothing (skipped due to action
:nothing)
* template[/var/log/opscode/nginx/config] action create (up to date)
Recipe: <Dynamically Defined Resource>
* service[nginx] action nothing (skipped due to action :nothing)
Recipe: private-chef::nginx
* runit_service[nginx] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/sv/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/log] action create (up to date)
* directory[/opt/opscode/sv/nginx/log/main] action create (up to date)
* directory[/var/log/nginx] action create (up to date)
* template[/opt/opscode/sv/nginx/log/config] action create (up to date)
* link[/var/log/nginx/config] action create (up to date)
* template[/opt/opscode/sv/nginx/log/run] action create (up to date)
* directory[/opt/opscode/sv/nginx/env] action create (up to date)
* ruby_block[Delete unmanaged env files for nginx service] action run (skipped
due to only_if)
* template[/opt/opscode/sv/nginx/check] action create (skipped due to only_if)
* template[/opt/opscode/sv/nginx/finish] action create (skipped due to only_if)
* directory[/opt/opscode/sv/nginx/control] action create (up to date)
* link[/opt/opscode/init/nginx] action create (up to date)
* file[/opt/opscode/sv/nginx/down] action nothing (skipped due to action
:nothing)
* directory[/opt/opscode/service] action create (up to date)
* link[/opt/opscode/service/nginx] action create (up to date)
* ruby_block[wait for nginx service socket] action run
- execute the ruby block wait for nginx service socket

* template[/etc/opscode/logrotate.d/nginx] action create (up to date)


Recipe: <Dynamically Defined Resource>
* service[keepalived] action nothing (skipped due to action :nothing)
Recipe: private-chef::default
* runit_service[keepalived] action disable
* ruby_block[disable keepalived] action run (skipped due to only_if)
(up to date)
Recipe: <Dynamically Defined Resource>
* service[postgres] action nothing (skipped due to action :nothing)
Recipe: private-chef::cleanup
* runit_service[postgres] action stop (up to date)
* runit_service[postgres] action disable
* ruby_block[disable postgres] action run (skipped due to only_if)
(up to date)
* directory[/opt/opscode/sv/postgres] action delete (up to date)
* directory[/opt/opscode/embedded/service/chef-server-bootstrap] action delete
(up to date)
Recipe: <Dynamically Defined Resource>
* service[opscode-expander-reindexer] action nothing (skipped due to action
:nothing)
Recipe: private-chef::cleanup
* runit_service[opscode-expander-reindexer] action stop (up to date)
* runit_service[opscode-expander-reindexer] action disable
* ruby_block[disable opscode-expander-reindexer] action run (skipped due to
only_if)
(up to date)
* link[/opt/opscode/init/opscode-expander-reindexer] action delete (up to date)
* directory[/opt/opscode/sv/opscode-expander-reindexer] action delete (up to
date)
Recipe: private-chef::actions
* directory[/etc/opscode-analytics] action create (up to date)
* file[/etc/opscode-analytics/webui_priv.pem] action create (up to date)
* file[/etc/opscode-analytics/actions-source.json] action create
- update content in file /etc/opscode-analytics/actions-source.json from 531b73
to a6e5fe
- suppressed sensitive resource
- restore selinux security context
Recipe: private-chef::private-chef-sh
* template[/etc/opscode/private-chef.sh] action create (up to date)
Recipe: private-chef::oc-chef-pedant
* directory[/var/opt/opscode/oc-chef-pedant] action create (up to date)
* directory[/var/opt/opscode/oc-chef-pedant/etc] action create (up to date)
* directory[/var/log/opscode/oc-chef-pedant] action create (up to date)
* template[/var/opt/opscode/oc-chef-pedant/etc/pedant_config.rb] action create
- update content in file /var/opt/opscode/oc-chef-pedant/etc/pedant_config.rb
from 637da7 to 7ef458
--- /var/opt/opscode/oc-chef-pedant/etc/pedant_config.rb 2017-11-10
13:34:10.509000000 +0530
+++ /var/opt/opscode/oc-chef-pedant/etc/.chef-pedant_config20171110-14852-
casdte.rb 2017-11-10 13:39:21.319000000 +0530
@@ -17,7 +17,7 @@
# on multiple nodes of the same chef server when the generated pedant
# config file could have been copied across during the setup of that
# chef server.
-chef_server_uid = "localhost_#{Process.pid}"
+chef_server_uid = "chef-server_#{Process.pid}"

# Specify a testing organization if you are testing a multi-tenant


# instance of a Chef Server (e.g., Private Chef, Hosted Chef). If you
@@ -51,7 +51,7 @@

# You MUST specify the address of the server the API requests will be
# sent to. Only specify protocol, hostname, and port.
-chef_server "https://localhost"
+chef_server "https://chef-server"

# This configration specifies the default orgname. Note that it does *not*
# mean that Pedant will test things with default org urls. To do that,
- restore selinux security context
Recipe: private-chef::log_cleanup
* file[/etc/cron.d/opc_log_cleanup] action delete (up to date)
* file[/etc/cron.d/opc_logrotate.cron] action delete (up to date)
* template[/etc/opscode/logrotate.conf] action create (up to date)
* template[/etc/cron.hourly/opc_logrotate] action create (up to date)
Recipe: private-chef::partybus
* directory[/var/opt/opscode/upgrades] action create (up to date)
* directory[/var/opt/opscode/upgrades/etc] action create (up to date)
* directory[/opt/opscode/embedded/service/partybus] action create (up to date)
* template[/var/opt/opscode/upgrades/etc/config.rb] action create (up to date)
* link[/opt/opscode/embedded/service/partybus/config.rb] action create (up to
date)
* execute[set initial migration level] action nothing (skipped due to action
:nothing)
* ruby_block[migration-level file sanity check] action nothing (skipped due to
action :nothing)
Recipe: private-chef::ctl_config
* template[/etc/opscode/pivotal.rb] action create (up to date)
Recipe: private-chef::default
* file[/etc/opscode/chef-server-running.json] action create
- update content in file /etc/opscode/chef-server-running.json from 87ee21 to
936799
--- /etc/opscode/chef-server-running.json 2017-11-10 13:34:10.968000000 +0530
+++ /etc/opscode/.chef-chef-server-running20171110-14852-1c9gdo3.json
2017-11-10 13:39:21.473000000 +0530
@@ -310,8 +310,8 @@
"lb": {
"enable": true,
"vip": "127.0.0.1",
- "api_fqdn": "localhost",
- "web_ui_fqdn": "localhost",
+ "api_fqdn": "chef-server",
+ "web_ui_fqdn": "chef-server",
"cache_cookbook_files": false,
"debug": false,
"upstream": {
@@ -366,8 +366,8 @@
"enable_non_ssl": false,
"non_ssl_port": 80,
"x_forwarded_proto": "https",
- "server_name": "localhost",
- "url": "https://localhost",
+ "server_name": "chef-server",
+ "url": "https://chef-server",
"proxy_connect_timeout": 1,
"enable_stub_status": true,
"stub_status": {
@@ -380,8 +380,8 @@
},
"ssl_protocols": "TLSv1 TLSv1.1 TLSv1.2",
"ssl_ciphers": "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-
SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-
AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-
AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:AES256-GCM-
SHA384:AES:!aNULL:!eNULL:!EXPORT",
- "ssl_certificate": "/var/opt/opscode/nginx/ca/localhost.crt",
- "ssl_certificate_key": "/var/opt/opscode/nginx/ca/localhost.key",
+ "ssl_certificate": "/var/opt/opscode/nginx/ca/chef-server.crt",
+ "ssl_certificate_key": "/var/opt/opscode/nginx/ca/chef-server.key",
"ssl_dhparam": "/var/opt/opscode/nginx/ca/dhparams.pem",
"ssl_country_name": "US",
"ssl_company_name": "YouCorp",
@@ -505,7 +505,7 @@
"file_maxbytes": 104857600,
"num_to_keep": 10
},
- "vip": "localhost",
+ "vip": "chef-server",
"vip_port": 443,
"listen": "127.0.0.1",
"port": 4321,
@@ -592,7 +592,7 @@
"solr_ibrowse_options": "[{connect_timeout, 10000}]"
},
"bootstrap": {
- "enable": true
+ "enable": false
},
"estatsd": {
"enable": true,
- restore selinux security context
* ruby_block[print reconfigure warnings] action run
- execute the ruby block print reconfigure warnings
Recipe: private-chef::oc_id
* execute[restart_oc_id_log_service] action run
- execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/oc_id/log
Recipe: private-chef::opscode-erchef
* runit_service[opscode-erchef] action restart (up to date)
Recipe: private-chef::nginx
* runit_service[nginx] action restart (up to date)

Running handlers:
Running handlers complete

Deprecated features used!


Property `sensitive` of resource `yum_repository` overwrites an existing method.
Please use a different property name. This will raise an exception in Chef 13. at 1
location:
- /var/opt/opscode/local-mode-cache/cookbooks/yum/resources/repository.rb:59:in
`class_from_file'
See https://docs.chef.io/deprecations_property_name_collision.html for further
details.
node.set is deprecated and will be removed in Chef 14, please use
node.default/node.override (or node.normal only if you really need persistence) at
1 location:
- /var/opt/opscode/local-mode-cache/cookbooks/private-
chef/recipes/default.rb:57:in `from_file'
See https://docs.chef.io/deprecations_attributes.html for further details.
An attempt was made to change sysvinit_id from "SV" to nil by calling
sysvinit_id(nil). In Chef 12, this does a get rather than a set. In Chef 13, this
will change to set the value to nil. at 1 location:
- /var/opt/opscode/local-mode-cache/cookbooks/enterprise/recipes/runit.rb:31:in
`block in from_file'
See https://docs.chef.io/deprecations_custom_resource_cleanups.html for further
details.
Cloning resource attributes for runit_service[redis_lb] from prior resource
Previous runit_service[redis_lb]: /var/opt/opscode/local-mode-
cache/cookbooks/enterprise/definitions/component_runit_service.rb:37:in `block in
from_file'
Current runit_service[redis_lb]: /var/opt/opscode/local-mode-
cache/cookbooks/private-chef/recipes/redis_lb.rb:83:in `from_file' at 1 location:
- /var/opt/opscode/local-mode-cache/cookbooks/private-
chef/recipes/redis_lb.rb:83:in `from_file'
See https://docs.chef.io/deprecations_resource_cloning.html for further details.
Cloning resource attributes for directory[/var/opt/opscode/nginx/etc/addon.d]
from prior resource
Previous directory[/var/opt/opscode/nginx/etc/addon.d]: /var/opt/opscode/local-
mode-cache/cookbooks/private-chef/recipes/oc_id.rb:196:in `from_file'
Current directory[/var/opt/opscode/nginx/etc/addon.d]: /var/opt/opscode/local-
mode-cache/cookbooks/private-chef/recipes/nginx.rb:35:in `block in from_file' at 1
location:
- /var/opt/opscode/local-mode-cache/cookbooks/private-
chef/recipes/nginx.rb:35:in `block in from_file'
See https://docs.chef.io/deprecations_resource_cloning.html for further details.
Chef::Platform.find_provider_for_node is deprecated at 1 location:
- /opt/opscode/embedded/lib/ruby/2.2.0/forwardable.rb:188:in
`execute_each_resource'
See https://docs.chef.io/deprecations_chef_platform_methods.html for further
details.
Chef::Platform.find_provider is deprecated at 1 location:
- /opt/opscode/embedded/lib/ruby/2.2.0/forwardable.rb:188:in
`execute_each_resource'
See https://docs.chef.io/deprecations_chef_platform_methods.html for further
details.
Chef::Platform.find is deprecated at 1 location:
See https://docs.chef.io/deprecations_chef_platform_methods.html for further
details.

Chef Client finished, 58/578 resources updated in 49 seconds


Chef Server Reconfigured!
[root@localhost ~]# chef-manage-ctl reconfigure
To use this software, you must agree to the terms of the software license
agreement.
Press any key to continue.
Type 'yes' to accept the software license agreement, or anything else to cancel.
yes
Starting Chef Client, version 12.4.1
resolving cookbooks for run list: ["omnibus-chef-manage::default"]
Synchronizing Cookbooks:
- chef-server-ingredient
- enterprise
- private_chef_addon
- runit
- unicorn
- chef-ingredient
- packagecloud
- yum-chef
- apt-chef
- omnibus-chef-manage
- yum-epel
- compat_resource
- apt
Compiling Cookbooks...
Recipe: omnibus-chef-manage::default
* private_chef_addon[chef-manage] action create (up to date)
Recipe: omnibus-chef-manage::config
* directory[/etc/chef-manage] action create
- create new directory /etc/chef-manage
- change mode from '' to '0700'
- change owner from '' to 'opscode'
- restore selinux security context
[2017-11-10T13:41:29+05:30] WARN: Cloning resource attributes for
directory[/var/opt/chef-manage/etc] from prior resource (CHEF-3694)
[2017-11-10T13:41:29+05:30] WARN: Previous directory[/var/opt/chef-manage/etc]:
/opt/chef-
manage/embedded/cookbooks/cache/cookbooks/private_chef_addon/providers/default.rb:3
2:in `block in create_base_directories'
[2017-11-10T13:41:29+05:30] WARN: Current directory[/var/opt/chef-manage/etc]:
/opt/chef-
manage/embedded/cookbooks/cache/cookbooks/unicorn/definitions/unicorn_config.rb:45:
in `block in from_file'
Converging 53 resources
Recipe: omnibus-chef-manage::default
* directory[/opt/chef-manage/embedded/cookbooks/local-mode-cache] action delete
(up to date)
* private_chef_addon[chef-manage] action nothing (skipped due to action :nothing)
* directory[/opt/chef-manage] action create
- change mode from '0755' to '0775'
- restore selinux security context
* directory[/var/opt/chef-manage] action create
- change mode from '0755' to '0775'
- restore selinux security context
* directory[/var/opt/chef-manage/etc] action create
- create new directory /var/opt/chef-manage/etc
- change mode from '' to '0775'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/var/opt/chef-manage/tmp] action create
- create new directory /var/opt/chef-manage/tmp
- change mode from '' to '0775'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* directory[/var/log/chef-manage] action create
- create new directory /var/log/chef-manage
- change mode from '' to '0775'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* user[opscode] action create (up to date)
* group[opscode] action create (up to date)
* directory[/var/log/chef-manage/web] action create
- create new directory /var/log/chef-manage/web
- change mode from '' to '0700'
- change owner from '' to 'opscode'
- restore selinux security context
* directory[/var/log/chef-manage/worker] action create
- create new directory /var/log/chef-manage/worker
- change mode from '' to '0700'
- change owner from '' to 'opscode'
- restore selinux security context
* component_runit_supervisor[opscode-manage] action delete
* service[opscode-manage-runsvdir-start.service] action stop (up to date)
* service[opscode-manage-runsvdir-start.service] action disable (up to date)
* file[/etc/systemd/system/opscode-manage-runsvdir-start.service] action delete
(up to date)
(up to date)
Recipe: enterprise::runit
* component_runit_supervisor[chef-manage] action create
* template[/etc/systemd/system/chef-manage-runsvdir-start.service] action
create
- create new file /etc/systemd/system/chef-manage-runsvdir-start.service
- update content in file /etc/systemd/system/chef-manage-runsvdir-
start.service from none to 4860ad
--- /etc/systemd/system/chef-manage-runsvdir-start.service 2017-11-10
13:41:48.152000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-2trsk0 2017-11-10
13:41:48.151000000 +0530
@@ -1 +1,11 @@
+[Unit]
+Description=chef-manage Runit Process Supervisor
+After=network.target auditd.service
+
+[Service]
+ExecStart=/opt/chef-manage/embedded/bin/runsvdir-start
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* execute[cleanup_old_unit_files] action run (skipped due to only_if)
* service[chef-manage-runsvdir-start.service] action enable
- enable service service[chef-manage-runsvdir-start.service]
* service[chef-manage-runsvdir-start.service] action start
- start service service[chef-manage-runsvdir-start.service]

Recipe: omnibus-chef-manage::config
* directory[/etc/chef-manage] action create (up to date)
* file[/var/opt/chef-manage/etc/newrelic.yml] action create
- create new file /var/opt/chef-manage/etc/newrelic.yml
- update content in file /var/opt/chef-manage/etc/newrelic.yml from none to
910d34
--- /var/opt/chef-manage/etc/newrelic.yml 2017-11-10 13:41:49.293000000 +0530
+++ /var/opt/chef-manage/etc/.newrelic.yml20171110-17816-arp5vt 2017-11-10
13:41:49.293000000 +0530
@@ -1 +1,6 @@
+---
+development:
+ monitor_mode: false
+production:
+ monitor_mode: false
- change mode from '' to '0600'
- change owner from '' to 'opscode'
- restore selinux security context
* file[/var/opt/chef-manage/etc/settings.yml] action create
- create new file /var/opt/chef-manage/etc/settings.yml
- update content in file /var/opt/chef-manage/etc/settings.yml from none to
0c5a68
--- /var/opt/chef-manage/etc/settings.yml 2017-11-10 13:41:49.322000000 +0530
+++ /var/opt/chef-manage/etc/.settings.yml20171110-17816-1584jbz 2017-11-10
13:41:49.321000000 +0530
@@ -1 +1,98 @@
+---
+sysvinit_id: CM
+chef_base_path: "/opt/opscode"
+install_path: "/opt/chef-manage"
+var_path: "/var/opt/chef-manage"
+config_path: "/var/opt/chef-manage/etc"
+log_path: "/var/log/chef-manage"
+tmp_path: "/var/opt/chef-manage/tmp"
+web:
+ log_directory: "/var/log/chef-manage/web"
+ log_rotation:
+ file_maxbytes: 104857600
+ num_to_keep: 10
+worker:
+ log_directory: "/var/log/chef-manage/worker"
+ log_rotation:
+ file_maxbytes: 104857600
+ num_to_keep: 10
+redis:
+ log_directory: "/var/log/chef-manage/redis"
+ log_rotation:
+ file_maxbytes: 104857600
+ num_to_keep: 10
+ host: localhost
+ port: 11002
+ url: redis://localhost:11002/0
+services:
+ web:
+ enable: true
+ worker:
+ enable: true
+ events: {}
+webapp:
+ worker_processes: 1
+ port: 9462
+ listen: 127.0.0.1:9462
+ backlog: 1024
+ tcp_nodelay: true
+ worker_timeout: 3600
+ min_request: 3072
+ max_request: 4096
+ min_memory: 120
+ max_memory: 150
+user:
+ username: opscode
+ shell: "/bin/sh"
+ home: "/opt/opscode/embedded"
+fqdn: chef-server
+chef_server_external_url: https://chef-server
+chef_server_internal_url: https://localhost
+origin: chef-server
+public_port: 443
+ldap:
+ enabled: true
+ adjective:
+external:
+ port: 443
+platform:
+ public_url: https://chef-server
+ url: https://localhost
+ user: pivotal
+backbone_paginator_timeout: 120000
+chef_documentation_url: https://docs.getchef.com
+disable_sign_up: false
+email_from_address: Chef Notifications <notifications@getchef.com>
+nginx_addon_prefix: 30
+org_creation_enabled: true
+runit_timeout: 30
+session_timeout: 1440
+session_timeout_absolute: 10080
+max_login_failures: 7
+support_email_address: support@getchef.com
+support_site_url: http://getchef.com/support
+support_tickets_url: https://getchef.zendesk.com/hc/en-us/requests/new
+chef_title: Chef
+disable_upgrade_banner: false
+events: {}
+google_analytics: {}
+logging:
+ chef_log_level: info
+ log_level: info
+marketo: {}
+saml:
+ enabled: false
+ issuer_url: http://delivery/api/v0
+ verify_tls: true
+ adjective: SAML
+sentry: {}
+secrets:
+ provider: chef-secrets-env
+ var_name: CHEF_SECRETS_DATA
+marketplace:
+ sign_up:
+ enabled: false
+ timeout: 3600
+ sentinel:
+ file: "/var/opt/chef-manage/marketplace_sentinel"
- change mode from '' to '0600'
- change owner from '' to 'opscode'
- restore selinux security context
* link[/opt/chef-manage/embedded/service/chef-
manage/config/settings/production.yml] action create
- create symlink at /opt/chef-manage/embedded/service/chef-
manage/config/settings/production.yml to /var/opt/chef-manage/etc/settings.yml
* link[/opt/chef-manage/embedded/service/chef-manage/config/newrelic.yml] action
create
- create symlink at /opt/chef-manage/embedded/service/chef-
manage/config/newrelic.yml to /var/opt/chef-manage/etc/newrelic.yml
* link[/opt/chef-manage/embedded/service/chef-manage/tmp] action create
- create symlink at /opt/chef-manage/embedded/service/chef-manage/tmp to
/var/opt/chef-manage/tmp
* directory[/var/opt/chef-manage/run] action create
- create new directory /var/opt/chef-manage/run
- change mode from '' to '0700'
- change owner from '' to 'opscode'
- restore selinux security context
Recipe: omnibus-chef-manage::redis
* directory[/var/opt/chef-manage/lib/redis] action create
- create new directory /var/opt/chef-manage/lib/redis
- change mode from '' to '0700'
- change owner from '' to 'opscode'
- restore selinux security context
* directory[/var/log/chef-manage/redis] action create
- create new directory /var/log/chef-manage/redis
- change mode from '' to '0700'
- change owner from '' to 'opscode'
- restore selinux security context
* template[/var/opt/chef-manage/etc/redis.conf] action create
- create new file /var/opt/chef-manage/etc/redis.conf
- update content in file /var/opt/chef-manage/etc/redis.conf from none to
05748f
--- /var/opt/chef-manage/etc/redis.conf 2017-11-10 13:41:49.472000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-2lyuvm 2017-11-10
13:41:49.471000000 +0530
@@ -1 +1,10 @@
+# Redis configuration for chef-manage
+#
+# Generated by Chef.
+
+pidfile /var/opt/chef-manage/run/redis.pid
+port 11002
+bind 127.0.0.1
+loglevel notice
+dir /var/opt/chef-manage/lib/redis
- change mode from '' to '0600'
- change owner from '' to 'opscode'
- restore selinux security context
* execute[restart_redis_log_service] action nothing (skipped due to action
:nothing)
* template[/var/log/chef-manage/redis/config] action create
- create new file /var/log/chef-manage/redis/config
- update content in file /var/log/chef-manage/redis/config from none to 5e16ac
--- /var/log/chef-manage/redis/config 2017-11-10 13:41:49.558000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-1fcfhhs 2017-11-10
13:41:49.557000000 +0530
@@ -1 +1,4 @@
+# svlogd configuration
+s104857600
+n10
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
Recipe: <Dynamically Defined Resource>
* service[redis] action nothing (skipped due to action :nothing)
Recipe: omnibus-chef-manage::redis
* runit_service[redis] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/redis] action create
- create new directory /opt/chef-manage/sv/redis
- change mode from '' to '0755'
- restore selinux security context
* template[/opt/chef-manage/sv/redis/run] action create
- create new file /opt/chef-manage/sv/redis/run
- update content in file /opt/chef-manage/sv/redis/run from none to 26c157
--- /opt/chef-manage/sv/redis/run 2017-11-10 13:41:49.662000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-1qqk52i 2017-11-10
13:41:49.661000000 +0530
@@ -1 +1,11 @@
+#!/bin/sh
+
+exec 2>&1
+exec /opt/chef-manage/embedded/bin/chpst \
+ -P \
+ -U opscode \
+ -u opscode \
+ env \
+ PATH=/opt/chef-manage/embedded/bin:$PATH \
+ redis-server /var/opt/chef-manage/etc/redis.conf
- change mode from '' to '0755'
- restore selinux security context
* directory[/opt/chef-manage/sv/redis/log] action create
- create new directory /opt/chef-manage/sv/redis/log
- restore selinux security context
* directory[/opt/chef-manage/sv/redis/log/main] action create
- create new directory /opt/chef-manage/sv/redis/log/main
- change mode from '' to '0755'
- restore selinux security context
* directory[/var/log/redis] action create
- create new directory /var/log/redis
- change mode from '' to '0755'
- restore selinux security context
* template[/opt/chef-manage/sv/redis/log/config] action create
- create new file /opt/chef-manage/sv/redis/log/config
- update content in file /opt/chef-manage/sv/redis/log/config from none to
e3b0c4
(no diff)
- change mode from '' to '0644'
- restore selinux security context
* link[/var/log/redis/config] action create
- create symlink at /var/log/redis/config to /opt/chef-
manage/sv/redis/log/config
* template[/opt/chef-manage/sv/redis/log/run] action create
- create new file /opt/chef-manage/sv/redis/log/run
- update content in file /opt/chef-manage/sv/redis/log/run from none to
383757
--- /opt/chef-manage/sv/redis/log/run 2017-11-10 13:41:49.807000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-1gjrven 2017-11-10
13:41:49.807000000 +0530
@@ -1 +1,4 @@
+#!/bin/sh
+exec /opt/chef-manage/embedded/bin/svlogd \
+ -tt /var/log/chef-manage/redis
- change mode from '' to '0755'
- restore selinux security context
* directory[/opt/chef-manage/sv/redis/env] action create
- create new directory /opt/chef-manage/sv/redis/env
- change mode from '' to '0755'
- restore selinux security context
* ruby_block[zap extra env files for redis service] action run (skipped due to
only_if)
* template[/opt/chef-manage/sv/redis/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/redis/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/redis/control] action create
- create new directory /opt/chef-manage/sv/redis/control
- change mode from '' to '0755'
- restore selinux security context
* link[/opt/chef-manage/init/redis] action create
- create symlink at /opt/chef-manage/init/redis to /opt/chef-
manage/embedded/bin/sv
* file[/opt/chef-manage/sv/redis/down] action nothing (skipped due to action
:nothing)
* ruby_block[restart_service] action run
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/redis] action create (up to date)
* template[/opt/chef-manage/sv/redis/run] action create (up to date)
* directory[/opt/chef-manage/sv/redis/log] action create (up to date)
* directory[/opt/chef-manage/sv/redis/log/main] action create (up to date)
* directory[/var/log/redis] action create (up to date)
* template[/opt/chef-manage/sv/redis/log/config] action create (up to date)
* link[/var/log/redis/config] action create (up to date)
* template[/opt/chef-manage/sv/redis/log/run] action create (up to date)
* directory[/opt/chef-manage/sv/redis/env] action create (up to date)
* ruby_block[zap extra env files for redis service] action run (skipped due
to only_if)
* template[/opt/chef-manage/sv/redis/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/redis/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/redis/control] action create (up to date)
* link[/opt/chef-manage/init/redis] action create (up to date)
* file[/opt/chef-manage/sv/redis/down] action nothing (skipped due to
action :nothing)
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/redis] action create
- create symlink at /opt/chef-manage/service/redis to /opt/chef-
manage/sv/redis
* ruby_block[wait for redis service socket] action run
- execute the ruby block wait for redis service socket
- execute the ruby block restart_service
* ruby_block[restart_log_service] action run
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/redis] action create (up to date)
* template[/opt/chef-manage/sv/redis/run] action create (up to date)
* directory[/opt/chef-manage/sv/redis/log] action create (up to date)
* directory[/opt/chef-manage/sv/redis/log/main] action create (up to date)
* directory[/var/log/redis] action create (up to date)
* template[/opt/chef-manage/sv/redis/log/config] action create (up to date)
* link[/var/log/redis/config] action create (up to date)
* template[/opt/chef-manage/sv/redis/log/run] action create (up to date)
* directory[/opt/chef-manage/sv/redis/env] action create (up to date)
* ruby_block[zap extra env files for redis service] action run (skipped due
to only_if)
* template[/opt/chef-manage/sv/redis/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/redis/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/redis/control] action create (up to date)
* link[/opt/chef-manage/init/redis] action create (up to date)
* file[/opt/chef-manage/sv/redis/down] action nothing (skipped due to
action :nothing)
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/redis] action create (up to date)
* ruby_block[wait for redis service socket] action run
- execute the ruby block wait for redis service socket
- execute the ruby block restart_log_service
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/redis] action create (up to date)
* ruby_block[wait for redis service socket] action run
- execute the ruby block wait for redis service socket

Recipe: omnibus-chef-manage::web
* directory[/var/opt/chef-manage/etc] action create (up to date)
* template[/var/opt/chef-manage/etc/unicorn.rb] action create
- create new file /var/opt/chef-manage/etc/unicorn.rb
- update content in file /var/opt/chef-manage/etc/unicorn.rb from none to
99d2bd
--- /var/opt/chef-manage/etc/unicorn.rb 2017-11-10 13:41:56.321000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-jlrdie 2017-11-10
13:41:56.320000000 +0530
@@ -1 +1,35 @@
+##
+# Unicorn config at /var/opt/chef-manage/etc/unicorn.rb
+# Managed by Chef - Local Changes will be Nuked from Orbit (just to be sure)
+##
+
+# What ports/sockets to listen on, and what options for them.
+listen "127.0.0.1:9462", {:backlog=>1024, :tcp_nodelay=>true}
+
+
+# What the timeout for killing busy workers is, in seconds
+timeout 3600
+
+# Whether the app should be pre-loaded
+preload_app true
+
+# How many worker processes
+worker_processes 1
+
+
+
+
+# What to do after we fork a worker
+after_fork do |server, worker|
+
+ Sidekiq.configure_server do |config|
+ config.redis = { :url => 'redis://localhost:11002/0', :namespace =>
'sidekiq' }
+ end
+ Sidekiq.configure_client do |config|
+ config.redis = { :url => 'redis://localhost:11002/0', :namespace =>
'sidekiq' }
+ end
+
+end
+
+
- change mode from '' to '0600'
- change owner from '' to 'opscode'
- restore selinux security context
* ruby_block[warn-group-no-user] action run (skipped due to only_if)
* template[/opt/chef-manage/embedded/service/chef-manage/config.ru] action create
- update content in file /opt/chef-manage/embedded/service/chef-
manage/config.ru from 257c24 to 70bf15
--- /opt/chef-manage/embedded/service/chef-manage/config.ru 2017-03-30
22:37:11.000000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-16xng3e 2017-11-10
13:41:56.465000000 +0530
@@ -1,4 +1,23 @@
-# This file is overwritten by omnibus-chef-manage::web recipe
+# Chef Management Console config.ru is used by Rack-based servers to start
+# the application.
+#
+# Generated by Chef
+
+if defined?(Unicorn)
+ require 'unicorn/worker_killer'
+
+ min_request = 3072
+ max_request = 4096
+
+ # Max requests per worker
+ use Unicorn::WorkerKiller::MaxRequests, min_request, max_request
+
+ min_memory = 125829120
+ max_memory = 157286400
+
+ # Max memory size in bytes per worker
+ use Unicorn::WorkerKiller::Oom, min_memory, max_memory
+end

require ::File.expand_path('../config/environment', __FILE__)

- change owner from 'root' to 'opscode'


- restore selinux security context
* execute[restart_web_log_service] action nothing (skipped due to action
:nothing)
* template[/var/log/chef-manage/web/config] action create
- create new file /var/log/chef-manage/web/config
- update content in file /var/log/chef-manage/web/config from none to 5e16ac
--- /var/log/chef-manage/web/config 2017-11-10 13:41:56.550000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-1tcf4ze 2017-11-10
13:41:56.550000000 +0530
@@ -1 +1,4 @@
+# svlogd configuration
+s104857600
+n10
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
Recipe: <Dynamically Defined Resource>
* service[web] action nothing (skipped due to action :nothing)
Recipe: omnibus-chef-manage::web
* runit_service[web] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/web] action create
- create new directory /opt/chef-manage/sv/web
- change mode from '' to '0755'
- restore selinux security context
* template[/opt/chef-manage/sv/web/run] action create
- create new file /opt/chef-manage/sv/web/run
- update content in file /opt/chef-manage/sv/web/run from none to 096c12
--- /opt/chef-manage/sv/web/run 2017-11-10 13:41:56.666000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-10068wo 2017-11-10
13:41:56.665000000 +0530
@@ -1 +1,21 @@
+#!/bin/sh
+export DIR=/opt/chef-manage/embedded/service/chef-manage
+export SVWAIT=30
+export PATH=/opt/chef-manage/embedded/bin:$PATH
+export HOME=$DIR
+
+cd $DIR
+exec 2>&1
+exec veil-env-helper --pack -s manage.secret_token \
+ -s manage.secret_key_base \
+ -s chef-server.webui_key \
+ -o saml.client_id \
+ -o saml.client_secret \
+ -- /opt/chef-manage/embedded/bin/chpst \
+ -P \
+ -U opscode \
+ -u opscode \
+ bundle exec unicorn -E production \
+ -c /var/opt/chef-manage/etc/unicorn.rb \
+ /opt/chef-manage/embedded/service/chef-manage/config.ru
- change mode from '' to '0755'
- restore selinux security context
* directory[/opt/chef-manage/sv/web/log] action create
- create new directory /opt/chef-manage/sv/web/log
- restore selinux security context
* directory[/opt/chef-manage/sv/web/log/main] action create
- create new directory /opt/chef-manage/sv/web/log/main
- change mode from '' to '0755'
- restore selinux security context
* directory[/var/log/web] action create
- create new directory /var/log/web
- change mode from '' to '0755'
- restore selinux security context
* template[/opt/chef-manage/sv/web/log/config] action create
- create new file /opt/chef-manage/sv/web/log/config
- update content in file /opt/chef-manage/sv/web/log/config from none to
e3b0c4
(no diff)
- change mode from '' to '0644'
- restore selinux security context
* link[/var/log/web/config] action create
- create symlink at /var/log/web/config to /opt/chef-manage/sv/web/log/config
* template[/opt/chef-manage/sv/web/log/run] action create
- create new file /opt/chef-manage/sv/web/log/run
- update content in file /opt/chef-manage/sv/web/log/run from none to 2cc622
--- /opt/chef-manage/sv/web/log/run 2017-11-10 13:41:56.938000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-1t21p9a 2017-11-10
13:41:56.938000000 +0530
@@ -1 +1,3 @@
+#!/bin/sh
+exec /opt/chef-manage/embedded/bin/svlogd -tt /var/log/chef-manage/web
- change mode from '' to '0755'
- restore selinux security context
* directory[/opt/chef-manage/sv/web/env] action create
- create new directory /opt/chef-manage/sv/web/env
- change mode from '' to '0755'
- restore selinux security context
* ruby_block[zap extra env files for web service] action run (skipped due to
only_if)
* template[/opt/chef-manage/sv/web/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/web/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/web/control] action create
- create new directory /opt/chef-manage/sv/web/control
- change mode from '' to '0755'
- restore selinux security context
* link[/opt/chef-manage/init/web] action create
- create symlink at /opt/chef-manage/init/web to /opt/chef-
manage/embedded/bin/sv
* file[/opt/chef-manage/sv/web/down] action nothing (skipped due to action
:nothing)
* ruby_block[restart_service] action run
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/web] action create (up to date)
* template[/opt/chef-manage/sv/web/run] action create (up to date)
* directory[/opt/chef-manage/sv/web/log] action create (up to date)
* directory[/opt/chef-manage/sv/web/log/main] action create (up to date)
* directory[/var/log/web] action create (up to date)
* template[/opt/chef-manage/sv/web/log/config] action create (up to date)
* link[/var/log/web/config] action create (up to date)
* template[/opt/chef-manage/sv/web/log/run] action create (up to date)
* directory[/opt/chef-manage/sv/web/env] action create (up to date)
* ruby_block[zap extra env files for web service] action run (skipped due to
only_if)
* template[/opt/chef-manage/sv/web/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/web/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/web/control] action create (up to date)
* link[/opt/chef-manage/init/web] action create (up to date)
* file[/opt/chef-manage/sv/web/down] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/web] action create
- create symlink at /opt/chef-manage/service/web to /opt/chef-manage/sv/web
* ruby_block[wait for web service socket] action run
- execute the ruby block wait for web service socket
- execute the ruby block restart_service
* ruby_block[restart_log_service] action run
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/web] action create (up to date)
* template[/opt/chef-manage/sv/web/run] action create (up to date)
* directory[/opt/chef-manage/sv/web/log] action create (up to date)
* directory[/opt/chef-manage/sv/web/log/main] action create (up to date)
* directory[/var/log/web] action create (up to date)
* template[/opt/chef-manage/sv/web/log/config] action create (up to date)
* link[/var/log/web/config] action create (up to date)
* template[/opt/chef-manage/sv/web/log/run] action create (up to date)
* directory[/opt/chef-manage/sv/web/env] action create (up to date)
* ruby_block[zap extra env files for web service] action run (skipped due to
only_if)
* template[/opt/chef-manage/sv/web/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/web/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/web/control] action create (up to date)
* link[/opt/chef-manage/init/web] action create (up to date)
* file[/opt/chef-manage/sv/web/down] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/web] action create (up to date)
* ruby_block[wait for web service socket] action run
- execute the ruby block wait for web service socket
- execute the ruby block restart_log_service
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/web] action create (up to date)
* ruby_block[wait for web service socket] action run
- execute the ruby block wait for web service socket

* ruby_block[update marketplace signup sentinel atime] action run (skipped due to


only_if)
Recipe: omnibus-chef-manage::worker
* execute[restart_worker_log_service] action nothing (skipped due to action
:nothing)
* template[/var/log/chef-manage/worker/config] action create
- create new file /var/log/chef-manage/worker/config
- update content in file /var/log/chef-manage/worker/config from none to 5e16ac
--- /var/log/chef-manage/worker/config 2017-11-10 13:42:02.856000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-1s8dquc 2017-11-10
13:42:02.856000000 +0530
@@ -1 +1,4 @@
+# svlogd configuration
+s104857600
+n10
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
Recipe: <Dynamically Defined Resource>
* service[worker] action nothing (skipped due to action :nothing)
Recipe: omnibus-chef-manage::worker
* runit_service[worker] action enable
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/worker] action create
- create new directory /opt/chef-manage/sv/worker
- change mode from '' to '0755'
- restore selinux security context
* template[/opt/chef-manage/sv/worker/run] action create
- create new file /opt/chef-manage/sv/worker/run
- update content in file /opt/chef-manage/sv/worker/run from none to feb3c6
--- /opt/chef-manage/sv/worker/run 2017-11-10 13:42:02.971000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-14s9r8 2017-11-10
13:42:02.971000000 +0530
@@ -1 +1,18 @@
+#!/bin/sh
+export DIR=/opt/chef-manage/embedded/service/chef-manage
+export SVWAIT=30
+export PATH=/opt/chef-manage/embedded/bin:$PATH
+export HOME=$DIR
+
+cd $DIR
+exec 2>&1
+exec veil-env-helper --pack -s manage.secret_token \
+ -s manage.secret_key_base \
+ -s chef-server.webui_key \
+ -- /opt/chef-manage/embedded/bin/chpst \
+ -P \
+ -U opscode \
+ -u opscode \
+ bundle exec sidekiq -e production \
+ -P /var/opt/chef-manage/run/sidekiq.pid
- change mode from '' to '0755'
- restore selinux security context
* directory[/opt/chef-manage/sv/worker/log] action create
- create new directory /opt/chef-manage/sv/worker/log
- restore selinux security context
* directory[/opt/chef-manage/sv/worker/log/main] action create
- create new directory /opt/chef-manage/sv/worker/log/main
- change mode from '' to '0755'
- restore selinux security context
* directory[/var/log/worker] action create
- create new directory /var/log/worker
- change mode from '' to '0755'
- restore selinux security context
* template[/opt/chef-manage/sv/worker/log/config] action create
- create new file /opt/chef-manage/sv/worker/log/config
- update content in file /opt/chef-manage/sv/worker/log/config from none to
e3b0c4
(no diff)
- change mode from '' to '0644'
- restore selinux security context
* link[/var/log/worker/config] action create
- create symlink at /var/log/worker/config to /opt/chef-
manage/sv/worker/log/config
* template[/opt/chef-manage/sv/worker/log/run] action create
- create new file /opt/chef-manage/sv/worker/log/run
- update content in file /opt/chef-manage/sv/worker/log/run from none to
9bb439
--- /opt/chef-manage/sv/worker/log/run 2017-11-10 13:42:03.180000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-1w3z9ln 2017-11-10
13:42:03.180000000 +0530
@@ -1 +1,3 @@
+#!/bin/sh
+exec /opt/chef-manage/embedded/bin/svlogd -tt /var/log/chef-manage/worker
- change mode from '' to '0755'
- restore selinux security context
* directory[/opt/chef-manage/sv/worker/env] action create
- create new directory /opt/chef-manage/sv/worker/env
- change mode from '' to '0755'
- restore selinux security context
* ruby_block[zap extra env files for worker service] action run (skipped due to
only_if)
* template[/opt/chef-manage/sv/worker/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/worker/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/worker/control] action create
- create new directory /opt/chef-manage/sv/worker/control
- change mode from '' to '0755'
- restore selinux security context
* link[/opt/chef-manage/init/worker] action create
- create symlink at /opt/chef-manage/init/worker to /opt/chef-
manage/embedded/bin/sv
* file[/opt/chef-manage/sv/worker/down] action nothing (skipped due to
action :nothing)
* ruby_block[restart_service] action run
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/worker] action create (up to date)
* template[/opt/chef-manage/sv/worker/run] action create (up to date)
* directory[/opt/chef-manage/sv/worker/log] action create (up to date)
* directory[/opt/chef-manage/sv/worker/log/main] action create (up to date)
* directory[/var/log/worker] action create (up to date)
* template[/opt/chef-manage/sv/worker/log/config] action create (up to date)
* link[/var/log/worker/config] action create (up to date)
* template[/opt/chef-manage/sv/worker/log/run] action create (up to date)
* directory[/opt/chef-manage/sv/worker/env] action create (up to date)
* ruby_block[zap extra env files for worker service] action run (skipped due
to only_if)
* template[/opt/chef-manage/sv/worker/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/worker/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/worker/control] action create (up to date)
* link[/opt/chef-manage/init/worker] action create (up to date)
* file[/opt/chef-manage/sv/worker/down] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/worker] action create
- create symlink at /opt/chef-manage/service/worker to /opt/chef-
manage/sv/worker
* ruby_block[wait for worker service socket] action run
- execute the ruby block wait for worker service socket
- execute the ruby block restart_service
* ruby_block[restart_log_service] action run
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/sv/worker] action create (up to date)
* template[/opt/chef-manage/sv/worker/run] action create (up to date)
* directory[/opt/chef-manage/sv/worker/log] action create (up to date)
* directory[/opt/chef-manage/sv/worker/log/main] action create (up to date)
* directory[/var/log/worker] action create (up to date)
* template[/opt/chef-manage/sv/worker/log/config] action create (up to date)
* link[/var/log/worker/config] action create (up to date)
* template[/opt/chef-manage/sv/worker/log/run] action create (up to date)
* directory[/opt/chef-manage/sv/worker/env] action create (up to date)
* ruby_block[zap extra env files for worker service] action run (skipped due
to only_if)
* template[/opt/chef-manage/sv/worker/check] action create (skipped due to
only_if)
* template[/opt/chef-manage/sv/worker/finish] action create (skipped due to
only_if)
* directory[/opt/chef-manage/sv/worker/control] action create (up to date)
* link[/opt/chef-manage/init/worker] action create (up to date)
* file[/opt/chef-manage/sv/worker/down] action nothing (skipped due to action
:nothing)
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/worker] action create (up to date)
* ruby_block[wait for worker service socket] action run
- execute the ruby block wait for worker service socket
- execute the ruby block restart_log_service
* directory[/opt/chef-manage/service] action create (up to date)
* link[/opt/chef-manage/service/worker] action create (up to date)
* ruby_block[wait for worker service socket] action run
- execute the ruby block wait for worker service socket

Recipe: <Dynamically Defined Resource>


* service[events] action nothing (skipped due to action :nothing)
Recipe: omnibus-chef-manage::events_disable
* runit_service[events] action disable
* ruby_block[disable events] action run (skipped due to only_if)
(up to date)
Recipe: omnibus-chef-manage::nginx
* service[nginx] action nothing (skipped due to action :nothing)
* template[/var/opt/opscode/nginx/etc/addon.d/30-chef-manage_upstreams.conf]
action create
- create new file /var/opt/opscode/nginx/etc/addon.d/30-chef-
manage_upstreams.conf
- update content in file /var/opt/opscode/nginx/etc/addon.d/30-chef-
manage_upstreams.conf from none to 0f16d6
--- /var/opt/opscode/nginx/etc/addon.d/30-chef-manage_upstreams.conf
2017-11-10 13:42:09.112000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-jlm6o 2017-11-10
13:42:09.111000000 +0530
@@ -1 +1,8 @@
+# Chef Management Console Nginx config upstreams
+#
+# Generated by Chef
+
+upstream chef_manage_webapp {
+ server 127.0.0.1:9462;
+}
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* file[/var/opt/opscode/nginx/etc/addon.d/30-opscode-manage_upstreams.conf]
action delete (up to date)
* template[/var/opt/opscode/nginx/etc/addon.d/30-chef-manage_internal.conf]
action create
- create new file /var/opt/opscode/nginx/etc/addon.d/30-chef-
manage_internal.conf
- update content in file /var/opt/opscode/nginx/etc/addon.d/30-chef-
manage_internal.conf from none to cb126e
--- /var/opt/opscode/nginx/etc/addon.d/30-chef-manage_internal.conf 2017-11-10
13:42:09.150000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-11f6n21 2017-11-10
13:42:09.149000000 +0530
@@ -1 +1,4 @@
+# Chef Management Console Nginx config for internal LB
+#
+# Generated by Chef
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* file[/var/opt/opscode/nginx/etc/addon.d/30-opscode-manage_internal.conf] action
delete (up to date)
* template[/var/opt/opscode/nginx/etc/addon.d/30-chef-manage_external.conf]
action create
- create new file /var/opt/opscode/nginx/etc/addon.d/30-chef-
manage_external.conf
- update content in file /var/opt/opscode/nginx/etc/addon.d/30-chef-
manage_external.conf from none to 009627
--- /var/opt/opscode/nginx/etc/addon.d/30-chef-manage_external.conf 2017-11-10
13:42:09.185000000 +0530
+++ /tmp/chef-rendered-template20171110-17816-1em92km 2017-11-10
13:42:09.185000000 +0530
@@ -1 +1,16 @@
+# Chef Management Console Nginx config for External LB.
+#
+# Generated by Chef
+
+# Asset configuration
+location ~ ^/assets/ {
+ root /opt/chef-manage/embedded/service/chef-manage/public;
+ expires 1y;
+ add_header Cache-Control public;
+
+ add_header ETag "";
+ break;
+}
+
+set $add_on_override_upstream "chef_manage_webapp";
- change mode from '' to '0644'
- change owner from '' to 'root'
- change group from '' to 'root'
- restore selinux security context
* file[/var/opt/opscode/nginx/etc/addon.d/30-opscode-manage_external.conf] action
delete (up to date)
* template[/var/opt/opscode/nginx/etc/nginx.d/manage.conf] action delete (up to
date)
Recipe: omnibus-chef-manage::default
* link[/usr/bin/chef-manage-ctl] action create (up to date)
* link[/usr/bin/opscode-manage-ctl] action create (up to date)
* file[/var/opt/chef-manage/etc/chef-manage-running.json] action create
- create new file /var/opt/chef-manage/etc/chef-manage-running.json
- update content in file /var/opt/chef-manage/etc/chef-manage-running.json from
none to 466428
--- /var/opt/chef-manage/etc/chef-manage-running.json 2017-11-10
13:42:09.219000000 +0530
+++ /var/opt/chef-manage/etc/.chef-manage-running.json20171110-17816-3u1ga
2017-11-10 13:42:09.219000000 +0530
@@ -1 +1,135 @@
+{
+ "chef-manage": {
+ "sysvinit_id": "CM",
+ "chef_base_path": "/opt/opscode",
+ "install_path": "/opt/chef-manage",
+ "var_path": "/var/opt/chef-manage",
+ "config_path": "/var/opt/chef-manage/etc",
+ "log_path": "/var/log/chef-manage",
+ "tmp_path": "/var/opt/chef-manage/tmp",
+ "web": {
+ "log_directory": "/var/log/chef-manage/web",
+ "log_rotation": {
+ "file_maxbytes": 104857600,
+ "num_to_keep": 10
+ }
+ },
+ "worker": {
+ "log_directory": "/var/log/chef-manage/worker",
+ "log_rotation": {
+ "file_maxbytes": 104857600,
+ "num_to_keep": 10
+ }
+ },
+ "redis": {
+ "log_directory": "/var/log/chef-manage/redis",
+ "log_rotation": {
+ "file_maxbytes": 104857600,
+ "num_to_keep": 10
+ },
+ "host": "localhost",
+ "port": 11002,
+ "url": "redis://localhost:11002/0"
+ },
+ "services": {
+ "web": {
+ "enable": true
+ },
+ "worker": {
+ "enable": true
+ },
+ "events": {
+
+ }
+ },
+ "webapp": {
+ "worker_processes": 1,
+ "port": 9462,
+ "listen": "127.0.0.1:9462",
+ "backlog": 1024,
+ "tcp_nodelay": true,
+ "worker_timeout": 3600,
+ "min_request": 3072,
+ "max_request": 4096,
+ "min_memory": 120,
+ "max_memory": 150
+ },
+ "user": {
+ "username": "opscode",
+ "shell": "/bin/sh",
+ "home": "/opt/opscode/embedded"
+ },
+ "fqdn": "chef-server",
+ "chef_server_external_url": "https://chef-server",
+ "chef_server_internal_url": "https://localhost",
+ "origin": "chef-server",
+ "public_port": 443,
+ "ldap": {
+ "enabled": true,
+ "adjective": null
+ },
+ "external": {
+ "port": 443
+ },
+ "platform": {
+ "public_url": "https://chef-server",
+ "url": "https://localhost",
+ "user": "pivotal"
+ },
+ "backbone_paginator_timeout": 120000,
+ "chef_documentation_url": "https://docs.getchef.com",
+ "disable_sign_up": false,
+ "email_from_address": "Chef Notifications <notifications@getchef.com>",
+ "nginx_addon_prefix": 30,
+ "org_creation_enabled": true,
+ "runit_timeout": 30,
+ "session_timeout": 1440,
+ "session_timeout_absolute": 10080,
+ "max_login_failures": 7,
+ "support_email_address": "support@getchef.com",
+ "support_site_url": "http://getchef.com/support",
+ "support_tickets_url": "https://getchef.zendesk.com/hc/en-
us/requests/new",
+ "chef_title": "Chef",
+ "disable_upgrade_banner": false,
+ "events": {
+
+ },
+ "google_analytics": {
+
+ },
+ "logging": {
+ "chef_log_level": "info",
+ "log_level": "info"
+ },
+ "marketo": {
+
+ },
+ "saml": {
+ "enabled": false,
+ "issuer_url": "http://delivery/api/v0",
+ "verify_tls": true,
+ "adjective": "SAML"
+ },
+ "sentry": {
+
+ },
+ "secrets": {
+ "provider": "chef-secrets-env",
+ "var_name": "CHEF_SECRETS_DATA"
+ },
+ "marketplace": {
+ "sign_up": {
+ "enabled": false,
+ "timeout": 3600
+ },
+ "sentinel": {
+ "file": "/var/opt/chef-manage/marketplace_sentinel"
+ }
+ }
+ },
+ "run_list": [
+ "recipe[omnibus-chef-manage::default]"
+]
+
+}
- change mode from '' to '0600'
- change owner from '' to 'opscode'
- change group from '' to 'root'
- restore selinux security context
Recipe: omnibus-chef-manage::redis
* runit_service[redis] action restart (up to date)
* execute[restart_redis_log_service] action run
- execute /opt/chef-manage/embedded/bin/sv restart /opt/chef-
manage/sv/redis/log
Recipe: omnibus-chef-manage::web
* runit_service[web] action restart (up to date)
* execute[restart_web_log_service] action run
- execute /opt/chef-manage/embedded/bin/sv restart /opt/chef-manage/sv/web/log
Recipe: omnibus-chef-manage::worker
* execute[restart_worker_log_service] action run
- execute /opt/chef-manage/embedded/bin/sv restart /opt/chef-
manage/sv/worker/log
Recipe: omnibus-chef-manage::nginx
* service[nginx] action restart
- restart service service[nginx]

Running handlers:
Running handlers complete
Chef Client finished, 88/188 resources updated in 62.755537103 seconds
chef-manage Reconfigured!
[root@localhost ~]#

S-ar putea să vă placă și