Issue #5210 has been updated by Charlie Sharpsteen. Keywords set to customer
---------------------------------------- Bug #5210: launchd provider calls enabled? on missing launchd provider https://projects.puppetlabs.com/issues/5210#change-88749 * Author: Andrew Forgue * Status: Duplicate * Priority: Normal * Assignee: Nigel Kersten * Category: OSX * Target version: 2.6.5 * Affected Puppet version: 2.6.3 * Keywords: customer * Branch: ---------------------------------------- It seems that the launchd provider calls enabled? on services in the catalog, even if those services haven't been installed yet. >From my testing, on a brand new box without puppet we load a new launchd >service onto the service with a service { "net.sourceforge.ganglia": require => File["/Library/LaunchDaemons/net.sourceforge.ganglia"], ... } If the file doesn't exist (as it wouldn't on puppet run) the catalog apply fails with: err: Could not run Puppet configuration client: Unable to find launchd plist for job: net.sourceforge.ganglia I would think this is an acceptable error condition as puppet hasn't put the plist on the server yet. So maybe the enabled? is being called without processing the rrequire => directives. We have an in-code workaround of catching Pupppet::Error from plist_from_label and returning :false in enabled?() -- 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.
