Skip to content

Instantly share code, notes, and snippets.

@yanxinyuan
Created October 8, 2016 06:22
Show Gist options
  • Save yanxinyuan/5545ead689a20151443e70ac55498a4a to your computer and use it in GitHub Desktop.
Save yanxinyuan/5545ead689a20151443e70ac55498a4a to your computer and use it in GitHub Desktop.
[root@delta chef]# chef-client
Starting Chef Client, version 12.13.37
resolving cookbooks for run list: ["push-jobs"]
Synchronizing Cookbooks:
- push-jobs (3.2.2)
- runit (3.0.0)
- packagecloud (0.2.5)
- yum-epel (1.0.1)
- yum (4.0.0)
- chef-ingredient (0.21.0)
- compat_resource (12.14.7)
Installing Cookbook Gems:
Compiling Cookbooks...
Converging 5 resources
Recipe: push-jobs::package
* remote_file[/var/chef/cache/push-jobs-client-2.1.1-1.el6.x86_64.rpm] action create (up to date)
* chef_ingredient[push-jobs-client] action install
Recipe: <Dynamically Defined Resource>
* chef_gem[mixlib-install] action install (up to date)
* ruby_block[stop chef run] action nothing (skipped due to action :nothing)
* yum_package[push-jobs-client] action install (up to date)
(up to date)
Recipe: push-jobs::config
* directory[/etc/chef] action create (up to date)
* template[/etc/chef/push-jobs-client.rb] action create (up to date)
Recipe: push-jobs::service
* push_jobs_service_runit[push-jobs] action start[2016-10-08T14:20:58+08:00] WARN: Cloning resource attributes for runit_service[chef-push-jobs-client] from prior resource (CHEF-3694)
Previous runit_service[chef-push-jobs-client]: /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:87:in `create_init'
Current runit_service[chef-push-jobs-client]: /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:28:in `block in class_from_file' at /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:28:in `block in class_from_file'
Recipe: runit::default
* service[runit] action nothing (skipped due to action :nothing)
* execute[start-runsvdir] action nothing (skipped due to action :nothing)
Recipe: yum-epel::default
* yum_repository[epel] action create
* template[/etc/yum.repos.d/epel.repo] action create (up to date)
* execute[yum clean metadata epel] action nothing (skipped due to action :nothing)
* execute[yum-makecache-epel] action nothing (skipped due to action :nothing)
* ruby_block[yum-cache-reload-epel] action nothing (skipped due to action :nothing)
(up to date)
Recipe: runit::default
* packagecloud_repo[imeyer/runit] action add
* yum_package[pygpgme] action install (up to date)
* log[pygpgme_warning] action write (skipped due to not_if)
* ruby_block[disable repo_gpgcheck if no pygpgme] action run (skipped due to not_if)
* template[/etc/yum.repos.d/imeyer_runit.repo] action create (up to date)
* execute[yum-makecache-imeyer_runit] action nothing (skipped due to action :nothing)
* ruby_block[yum-cache-reload-imeyer_runit] action nothing (skipped due to action :nothing)
(up to date)
* yum_package[runit] action install (up to date)
* service[runsvdir-start] action start (skipped due to only_if)
* service[runsvdir-start] action enable (skipped due to only_if)
Recipe: <Dynamically Defined Resource>
* service[opscode-push-jobs-client] action nothing (skipped due to action :nothing)
* runit_service[opscode-push-jobs-client] action stop (up to date)
* runit_service[opscode-push-jobs-client] action disable
* ruby_block[disable opscode-push-jobs-client] action run (skipped due to only_if)
(up to date)
* file[/etc/init.d/opscode-push-jobs-client] action delete (up to date)
* directory[/etc/sv/opscode-push-jobs-client] action delete (up to date)
* service[chef-push-jobs-client] action nothing (skipped due to action :nothing)
* runit_service[chef-push-jobs-client] 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[/etc/sv/chef-push-jobs-client] action create (up to date)
* template[/etc/sv/chef-push-jobs-client/run] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/log] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/log/main] action create (up to date)
* directory[/var/log/chef-push-jobs-client] action create (up to date)
* template[/etc/sv/chef-push-jobs-client/log/config] action create (up to date)
* link[/var/log/chef-push-jobs-client/config] action create (up to date)
* file[/etc/sv/chef-push-jobs-client/log/run] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/env] action create (up to date)
* ruby_block[zap extra env files for chef-push-jobs-client service] action run (skipped due to only_if)
* template[/etc/sv/chef-push-jobs-client/check] action create (skipped due to only_if)
* template[/etc/sv/chef-push-jobs-client/finish] action create (skipped due to only_if)
* directory[/etc/sv/chef-push-jobs-client/control] action create (up to date)
* link[/etc/init.d/chef-push-jobs-client] action create (up to date)
* file[/etc/sv/chef-push-jobs-client/down] action nothing (skipped due to action :nothing)
* directory[/etc/service] action create (up to date)
* link[/etc/service/chef-push-jobs-client] action create (up to date)
* ruby_block[wait for chef-push-jobs-client service socket] action run
- execute the ruby block wait for chef-push-jobs-client service socket
* service[chef-push-jobs-client] action nothing (skipped due to action :nothing)
* service[chef-push-jobs-client] action nothing (skipped due to action :nothing)
* runit_service[chef-push-jobs-client] action start (up to date)
Recipe: push-jobs::service
* push_jobs_service_runit[push-jobs] action enable[2016-10-08T14:21:32+08:00] WARN: Cloning resource attributes for runit_service[chef-push-jobs-client] from prior resource (CHEF-3694)
Previous runit_service[chef-push-jobs-client]: /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:87:in `create_init'
Current runit_service[chef-push-jobs-client]: /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:52:in `block in class_from_file' at /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:52:in `block in class_from_file'
Recipe: <Dynamically Defined Resource>
* service[opscode-push-jobs-client] action nothing (skipped due to action :nothing)
* runit_service[opscode-push-jobs-client] action stop (up to date)
* runit_service[opscode-push-jobs-client] action disable
* ruby_block[disable opscode-push-jobs-client] action run (skipped due to only_if)
(up to date)
* file[/etc/init.d/opscode-push-jobs-client] action delete (up to date)
* directory[/etc/sv/opscode-push-jobs-client] action delete (up to date)
* service[chef-push-jobs-client] action nothing (skipped due to action :nothing)
* runit_service[chef-push-jobs-client] 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[/etc/sv/chef-push-jobs-client] action create (up to date)
* template[/etc/sv/chef-push-jobs-client/run] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/log] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/log/main] action create (up to date)
* directory[/var/log/chef-push-jobs-client] action create (up to date)
* template[/etc/sv/chef-push-jobs-client/log/config] action create (up to date)
* link[/var/log/chef-push-jobs-client/config] action create (up to date)
* file[/etc/sv/chef-push-jobs-client/log/run] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/env] action create (up to date)
* ruby_block[zap extra env files for chef-push-jobs-client service] action run (skipped due to only_if)
* template[/etc/sv/chef-push-jobs-client/check] action create (skipped due to only_if)
* template[/etc/sv/chef-push-jobs-client/finish] action create (skipped due to only_if)
* directory[/etc/sv/chef-push-jobs-client/control] action create (up to date)
* link[/etc/init.d/chef-push-jobs-client] action create (up to date)
* file[/etc/sv/chef-push-jobs-client/down] action nothing (skipped due to action :nothing)
* directory[/etc/service] action create (up to date)
* link[/etc/service/chef-push-jobs-client] action create (up to date)
* ruby_block[wait for chef-push-jobs-client service socket] action run
- execute the ruby block wait for chef-push-jobs-client service socket
* service[chef-push-jobs-client] action nothing (skipped due to action :nothing)
* service[chef-push-jobs-client] action nothing (skipped due to action :nothing)
* runit_service[chef-push-jobs-client] 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[/etc/sv/chef-push-jobs-client] action create (up to date)
* template[/etc/sv/chef-push-jobs-client/run] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/log] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/log/main] action create (up to date)
* directory[/var/log/chef-push-jobs-client] action create (up to date)
* template[/etc/sv/chef-push-jobs-client/log/config] action create (up to date)
* link[/var/log/chef-push-jobs-client/config] action create (up to date)
* file[/etc/sv/chef-push-jobs-client/log/run] action create (up to date)
* directory[/etc/sv/chef-push-jobs-client/env] action create (up to date)
* ruby_block[zap extra env files for chef-push-jobs-client service] action run (skipped due to only_if)
* template[/etc/sv/chef-push-jobs-client/check] action create (skipped due to only_if)
* template[/etc/sv/chef-push-jobs-client/finish] action create (skipped due to only_if)
* directory[/etc/sv/chef-push-jobs-client/control] action create (up to date)
* link[/etc/init.d/chef-push-jobs-client] action create (up to date)
* file[/etc/sv/chef-push-jobs-client/down] action nothing (skipped due to action :nothing)
* directory[/etc/service] action create (up to date)
* link[/etc/service/chef-push-jobs-client] action create (up to date)
* ruby_block[wait for chef-push-jobs-client service socket] action run
- execute the ruby block wait for chef-push-jobs-client service socket
Running handlers:
Running handlers complete
Chef Client finished, 8/108 resources updated in 44 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment