Issue #12949 has been updated by Gerard Kok.

/System/Library/LaunchDaemons/ssh.plist on the Snow Leopard install:

<pre>  
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
        &lt;key&gt;Disabled&lt;/key&gt;
        &lt;true/&gt;
        &lt;key&gt;Label&lt;/key&gt;
        &lt;string&gt;com.openssh.sshd&lt;/string&gt;
        &lt;key&gt;Program&lt;/key&gt;
        &lt;string&gt;/usr/libexec/sshd-keygen-wrapper&lt;/string&gt;
        &lt;key&gt;ProgramArguments&lt;/key&gt;
        &lt;array&gt;
                &lt;string&gt;/usr/sbin/sshd&lt;/string&gt;
                &lt;string&gt;-i&lt;/string&gt;
        &lt;/array&gt;
        &lt;key&gt;Sockets&lt;/key&gt;
        &lt;dict&gt;
                &lt;key&gt;Listeners&lt;/key&gt;
                &lt;dict&gt;
                        &lt;key&gt;SockServiceName&lt;/key&gt;
                        &lt;string&gt;ssh&lt;/string&gt;
                        &lt;key&gt;Bonjour&lt;/key&gt;
                        &lt;array&gt;
                                &lt;string&gt;ssh&lt;/string&gt;
                                &lt;string&gt;sftp-ssh&lt;/string&gt;
                        &lt;/array&gt;
                &lt;/dict&gt;
        &lt;/dict&gt;
        &lt;key&gt;inetdCompatibility&lt;/key&gt;
        &lt;dict&gt;
                &lt;key&gt;Wait&lt;/key&gt;
                &lt;false/&gt;
        &lt;/dict&gt;
        &lt;key&gt;StandardErrorPath&lt;/key&gt;
        &lt;string&gt;/dev/null&lt;/string&gt;
        &lt;key&gt;SHAuthorizationRight&lt;/key&gt;
        &lt;string&gt;system.preferences&lt;/string&gt;
&lt;/dict&gt;
&lt;/plist&gt;
</pre>

Admitted this is not on a pristine system, but on the other hand I can't recall 
editing it.
----------------------------------------
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-57147

Author: Gerard Kok
Status: Investigating
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.7.11
Keywords: 
Branch: 


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