Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-778

Puppet 3.7.3 doesn't run when started by launchd on Mac OS X 10.10

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: FACT 2.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      When setting up puppet 3.7.3 on Mac OS X 10.10. I'm hitting an issue where when I launch Puppet via launchctl (as per https://docs.puppetlabs.com/guides/install_puppet/install_osx.html) Puppet is unable to launch due to the following error:

      2014-12-23 13:09:56 -0500 /Group[puppet] (debug): Provider directoryservice does not support features libuser; not managing attribute forcelocal
      2014-12-23 13:09:57 -0500 Puppet (err): Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `each' for nil:NilClass
      2014-12-23 13:09:57 -0500 Puppet (err): Could not prepare for execution: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: undefined method `each' for nil:NilClass
      

      (full run log attached as puppet.log)

      However, if I run the same command (that the launchctl script does) via sudo, puppet runs just fine.

      I've checked the permissions on the directory/files (/var/log, /var/lib, and /etc/puppet) and all seem fine.

      I also verified that the puppet user, and group, was created successfully:

      mac1010:~ mdelaney$ finger puppet
      Login: puppet                   Name: puppet
      Directory: /Users/puppet                Shell: /sbin/nologin
      Never logged in.
      No Mail.
      No Plan.
      mac1010:~ mdelaney$ groups puppet
      puppet everyone localaccounts com.apple.sharepoint.group.1 _lpoperator
      

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  mdelaney Mike Delaney
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support