Documente Academic
Documente Profesional
Documente Cultură
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
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
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;
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
# 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
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
Running handlers:
Running handlers complete
Chef Client finished, 88/188 resources updated in 62.755537103 seconds
chef-manage Reconfigured!
[root@localhost ~]#