Issue #21069 has been reported by Dustin Mitchell.
----------------------------------------
Bug #21069: launchd provider caches plists too aggressively
https://projects.puppetlabs.com/issues/21069
* Author: Dustin Mitchell
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category: Darwin
* Target version:
* Affected Puppet version: 3.2.1
* Keywords:
* Branch:
----------------------------------------
Notice:
/Stage[main]/Nrpe::Service/File[/Library/LaunchDaemons/org.nagios.nrpe.plist]/ensure:
defined content as '{md5}0961b6e7c3df7e9cde364c1a759ebc06'
Error: Unable to find launchd plist for job: org.nagios.nrpe
Error: /Stage[main]/Nrpe::Service/Service[org.nagios.nrpe]/ensure: change
from absent to running failed: Unable to find launchd plist for job:
org.nagios.nrpe
This is the same thing that Clay Caviness saw in
https://projects.puppetlabs.com/issues/16271#note-2
The issue is that the launchd provider caches the label -> path mapping
(@label_to_path_map), and doesn't see the newly added plist. I think the fix
would be to invalidate that mapping and retry once in the "Unable.." condition.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.