Issue #17702 has been updated by Brian LaShomb.
I didn't see anything later than 3.0.1... or do you mean move back a version? I'm looking on http://downloads.puppetlabs.com ---------------------------------------- Bug #17702: Puppet 3.0.1 for OS X fails when run as sudo https://projects.puppetlabs.com/issues/17702#change-76800 Author: Brian LaShomb Status: Investigating Priority: Normal Assignee: Category: Target version: Affected Puppet version: 3.0.1 Keywords: mac, sudo, package Branch: I'm getting errors trying to use Puppet 3.0.1 agent on Macs. I'm running 3.0.1 on the master. I've tried to connect a puppet agent to the master in two setups. Both provide the same result. One is from a base image running 10.8.2 and puppet 2.7.19, which I then installed puppet 3.0.1 on top of. And the second is just installing puppet 3.0.1 on a fresh 10.8.1 VM, straight from Apple installer. I get errors initially because the group puppet isn't found, and I imagine that is screwing up the install: <pre> Error: /File[/var/log/puppet]: Could not evaluate: Could not find group puppet Error: Could not prepare for execution: Got 1 failure(s) while initializing: Could not evaluate: Could not find group puppet </pre> So then I add puppet user and group using puppet one-liners (ensure => present) and add puppet user to puppet group using dscl. Then when I try a sudo puppet agent -t, I get this: <pre> Error: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `string' for nil:NilClass Error: Could not prepare for execution: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `string' for nil:NilClass undefined method `string' for nil:NilClass </pre> When I try to run this without sudo, it ignores the certname (maybe the whole file) in /etc/puppet/puppet.conf and creates a new SSL cert, although consipicously absent is the feedback that it's creating a new SSL cert. But when I check the master with puppet cert list, its there. After signing, and rerunning puppet agent -t I get this, along with the rest of the puppet run and it runs successfully. <pre> test-macbook:~ local$ puppet agent -t --waitforcert=60 Info: Caching certificate for test-macbook.ommin </pre> Is this a bug or does puppet agent not need root anymore? -- 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.
