[email protected] wrote:

Issue #9192 has been updated by Matthaus Litteken. Status changed from In Topic 
Branch Pending Merge to Code Insufficient 

This was merged and reverted as it caused test failures.

_____________________________________________

Bug #9192: service (launchd) provider fails on OS X 10.7 (Lion)

Author: Clay CavinessStatus: Code InsufficientPriority: NormalAssignee: Gary 
LarizzaCategory: OSXTarget version: 2.7.xAffected Puppet version: Keywords: 
lionBranch: 
https://github.com/glarizza/puppet-1/tree/tickets/2.7.x/9192_launchd_fix $ sudo 
puppet apply --debug service { 'com.company.corp.somejob': ensure => running, 
enable => true, } [...] debug: Puppet::Type::Service::ProviderLaunchd: 
Executing '/usr/bin/plutil -convert xml1 -o /dev/stdout 
/Library/LaunchDaemons/com.company.corp.somejob.plist' debug: 
Service[com.company.corp.somejob](provider=launchd): Executing 'launchctl load 
/Library/LaunchDaemons/com.company.corp.somejob.plist' err: 
/Stage[main]//Service[com.company.corp.somejob]/ensure: change from stopped to 
running failed: Unable to start service: com.company.corp.somejob at path: 
/Library/LaunchDaemons/com.company.corp.somejob.plist debug: Finishing 
transaction 2277069800 debug: Storing state debug: Stored state in 0.13 seconds 
notice: Finished catalog run in 1.27
seconds 

Yet another instance where there an OS X version check. Lines 214, 239, and 254 
of launchd.rb 
(http://projects.puppetlabs.com/projects/puppet/repository/revisions/master/entry/lib/puppet/provider/service/launchd.rb):

if self.class.get_macosx_version_major == "10.6" 

10.7 also uses the launchd overrides plist.

I’m using Mac OS X 10.7.1, Puppet 2.7.3.

_____________________________________________

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


Can we add the test failures to the ticket please?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to