Created
October 14, 2012 21:23
-
-
Save berekuk/3889852 to your computer and use it in GitHub Desktop.
issue with :notifies for in-line resources in lightweight provider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| [2012-10-14T21:18:39+00:00] INFO: Processing ubic_service[dancer] action install (play-perl::default line 50) | |
| [2012-10-14T21:18:39+00:00] INFO: Processing ubic_service[dancer] action start (play-perl::default line 50) | |
| [2012-10-14T21:18:39+00:00] INFO: Processing template[/etc/ubic/service/dancer] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/ubic/providers/service.rb line 22) | |
| [2012-10-14T21:18:40+00:00] INFO: template[/etc/ubic/service/dancer] backed up to /var/chef/backup/etc/ubic/service/dancer.chef-20121014211840 | |
| [2012-10-14T21:18:40+00:00] INFO: template[/etc/ubic/service/dancer] removed backup at /var/chef/backup/./etc/ubic/service/dancer.chef-20121014205215 | |
| [2012-10-14T21:18:40+00:00] INFO: template[/etc/ubic/service/dancer] updated content | |
| [2012-10-14T21:18:40+00:00] INFO: template[/etc/ubic/service/dancer] owner changed to 0 | |
| [2012-10-14T21:18:40+00:00] INFO: template[/etc/ubic/service/dancer] group changed to 0 | |
| [2012-10-14T21:18:40+00:00] INFO: template[/etc/ubic/service/dancer] mode changed to 644 | |
| [2012-10-14T21:18:40+00:00] INFO: Processing execute[start ubic service dancer] action run (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/ubic/providers/service.rb line 2) | |
| [2012-10-14T21:18:40+00:00] INFO: execute[start ubic service dancer] ran successfully | |
| [2012-10-14T21:18:40+00:00] INFO: Processing directory[/web/dancer-dev] action create (play-perl::default line 53) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing ubic_service[dancer-dev] action install (play-perl::default line 54) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing ubic_service[dancer-dev] action start (play-perl::default line 54) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing template[/etc/ubic/service/dancer-dev] action create (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/ubic/providers/service.rb line 22) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing execute[start ubic service dancer-dev] action run (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/ubic/providers/service.rb line 2) | |
| [2012-10-14T21:18:40+00:00] INFO: execute[start ubic service dancer-dev] ran successfully | |
| [2012-10-14T21:18:40+00:00] INFO: Processing directory[/web] action create (play-perl::default line 59) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing package[nginx] action install (play-perl::default line 61) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing file[/etc/nginx/sites-enabled/default] action delete (play-perl::default line 63) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing template[/etc/nginx/sites-enabled/play-perl.org] action create (play-perl::default line 67) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing template[/etc/nginx/sites-enabled/play-perl-dev.org] action create (play-perl::default line 79) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing service[nginx] action nothing (play-perl::default line 91) | |
| [2012-10-14T21:18:40+00:00] INFO: template[/etc/ubic/service/dancer] sending restart action to ubic_service[dancer] (delayed) | |
| [2012-10-14T21:18:40+00:00] INFO: Processing ubic_service[dancer] action restart (play-perl::default line 50) | |
| [2012-10-14T21:18:40+00:00] INFO: Chef Run complete in 2.327191 seconds | |
| [2012-10-14T21:18:40+00:00] INFO: Running report handlers | |
| [2012-10-14T21:18:40+00:00] INFO: Report handlers complete |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Restart notification is sent, but then
ubic_service[dancer]reloadaction doesn't call execute.Provider code: https://github.com/berekuk/play-perl/blob/dancer-ubic/cookbooks/ubic/providers/service.rb
Recipe: https://github.com/berekuk/play-perl/blob/dancer-ubic/cookbooks/play-perl/recipes/default.rb#L49