Issue #3710 has been updated by Nigel Kersten.

I believe a later 10.5.x release changed the XML output, 10.5.7 perhaps?

You can see the differences with system_profiler -xml SPHardwareDataType

Have you tried different versions of Facter? 

Once you've worked out which point release changes the output, and how, we can 
add some error checking to Facter to support both differences in formats.
----------------------------------------
Bug #3710: puppet not working on Mac 10.5.x
http://projects.puppetlabs.com/issues/3710

Author: Allan Marcus
Status: Accepted
Priority: High
Assigned to: Markus Roberts
Category: OSX
Target version: 0.25.5
Affected version: 0.25.5rc2
Keywords: mac 
Branch: 


It appears puppetd is not working properly on Mac OS X 10.5.6 (latest 10.5.x 
DVD shipped from Apple). It appears puppetd is not able to create 
/etc/puppet/ssl or /var/puppet/*

We tried with 0.25.1 and 0.25.5rc2

bash-3.2# puppetd --debug
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderUseradd: file useradd does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file rolemod does not exist
debug: Failed to load library 'ldap' for feature 'ldap'
debug: Puppet::Type::User::ProviderLdap: feature ldap is missing
2010-05-03 09:19:05.095 system_profiler[1034:10b] Exception while calling 
[SPPlatformReporter updateDictionary:]
*** -[NSCFArray objectAtIndex:]: index (3) beyond bounds (2)
err: Could not create resources for managing Puppet's files and directories in 
sections [:main, :puppetd, :ssl]: undefined method `each' for nil:NilClass
/Library/Ruby/Site/1.8/puppet/util/pidlock.rb:33:in `initialize': No such file 
or directory - /var/lib/puppet/run/puppetd.pid (Errno::ENOENT)
        from /Library/Ruby/Site/1.8/puppet/util/pidlock.rb:33:in `open'
        from /Library/Ruby/Site/1.8/puppet/util/pidlock.rb:33:in `lock'
        from /Library/Ruby/Site/1.8/puppet/daemon.rb:46:in `create_pidfile'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/sync.rb:229:in
 `synchronize'
        from /Library/Ruby/Site/1.8/puppet/daemon.rb:45:in `create_pidfile'
        from /Library/Ruby/Site/1.8/puppet/daemon.rb:21:in `daemonize'
        from /Library/Ruby/Site/1.8/puppet/application/puppetd.rb:233:in 
`run_setup'
        from /Library/Ruby/Site/1.8/puppet/application.rb:216:in `run'
        from /Library/Ruby/Site/1.8/puppet/application.rb:306:in `exit_on_fail'
        from /Library/Ruby/Site/1.8/puppet/application.rb:216:in `run'
        from /usr/sbin/puppetd:160




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