Issue #12949 has been updated by Gary Larizza.

Branch set to https://github.com/puppetlabs/puppet/pull/1309

I'm fairly certain this is the same thing as in #17624  I just pushed some code 
up that should have fixed that bug - can you give it a try and see if it helped 
you out?  <https://github.com/puppetlabs/puppet/pull/1309>
----------------------------------------
Bug #12949: service (launchd) provider (puppet 2.7.11) reports error on OS X 
10.6 (Snow Leopard)
https://projects.puppetlabs.com/issues/12949#change-78028

Author: Gerard Kok
Status: Investigating
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.11
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/1309


The following service definition:

    service { "sshd":
        name => $::operatingsystem ? {
            "Darwin" => "com.openssh.sshd",
            "Ubuntu" => "ssh",
            default => "sshd",
        },
        ensure => true,
        enable => true,
    }
    
gives the following error when I run 'puppet agent' on Mac OS X 10.6.8 and 
Puppet 2.7.11:

err: Could not prefetch service provider 'launchd': No resource and no name in 
property hash in launchd instance

The same service definition doesn't result in an error on Mac OS X 10.7 with 
Puppet 2.7.11, or Mac OS X 10.6 with Puppet 2.7.6.



-- 
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 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