Issue #4382 has been updated by Nigel Kersten.
I'm curious why Homebrew is attractive? ---------------------------------------- Bug #4382: puppetmasterd --mkusers on OS X is failing http://projects.puppetlabs.com/issues/4382 Author: Trevor Menagh Status: Investigating Priority: Normal Assignee: Nigel Kersten Category: OSX Target version: 2.6.1 Affected version: 2.6.0 Keywords: OSX, mkusers, puppetmasterd Branch: Summary: On a fresh install of Puppet 2.6.0 on Mac OS X 10.6.4 the command `puppetmasterd --mkusers` produces errors Steps to Reproduce: <pre> sudo -i curl -o facter-latest.tgz http://puppetlabs.com/downloads/facter/facter-latest.tgz curl -o puppet-latest.tgz http://puppetlabs.com/downloads/puppet/puppet-latest.tgz tar zxvf facter-latest.tgz cd facter-1.5.7 /usr/bin/ruby ./conf/osx/createpackage.sh installer -pkg facter-1.5.7.pkg -target / cd .. tar zxvf puppet-latest.tgz cd puppet-2.6.0 /usr/bin/ruby ./conf/osx/createpackage.sh installer -pkg puppet-2.6.0.pkg -target / /usr/sbin/puppetmasterd --mkusers --verbose --debug </pre> Expected Results: Puppet Maser Daemon should start. Actual Results: <pre> Could not prepare for execution: Got 32 failure(s) while initializing: Tried to get name field for silly id 4294967294; Tried to get name field for silly id 4294967294; change from root to 4294967294 failed: Failed to set owner to '4294967294': integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; change from wheel to puppet failed: failed to chgrp /var/lib/puppet/reports to 4294967294: integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; Tried to get name field for silly id 4294967294; change from root to 4294967294 failed: Failed to set owner to '4294967294': integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; change from wheel to puppet failed: failed to chgrp /var/lib/puppet/server_data to 4294967294: integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; Tried to get name field for silly id 4294967294; change from root to 4294967294 failed: Failed to set owner to '4294967294': integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; change from wheel to puppet failed: failed to chgrp /var/lib/puppet/yaml to 4294967294: integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; change from root to 4294967294 failed: Failed to set owner to '4294967294': integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; Tried to get name field for silly id 4294967294; change from root to 4294967294 failed: Failed to set owner to '4294967294': integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; change from wheel to puppet failed: failed to chgrp /var/lib/puppet/log to 4294967294: integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; Tried to get name field for silly id 4294967294; change from root to 4294967294 failed: Failed to set owner to '4294967294': integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; change from wheel to puppet failed: failed to chgrp /var/lib/puppet/rrd to 4294967294: integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; Tried to get name field for silly id 4294967294; change from root to 4294967294 failed: Failed to set owner to '4294967294': integer 4294967294 too big to convert to `int'; Tried to get name field for silly id 4294967294; change from wheel to puppet failed: failed to chgrp /var/lib/puppet/bucket to 4294967294: integer 4294967294 too big to convert to `int' </pre> Regression: This can be fixed by using the root user to start up puppet: <pre> puppet.conf: [main] user = 0 group = 0 </pre> and starting the puppet master without --mkusers Notes: This took me a long time to figure out. It would be nice to have the puppet master work on OS X out of the box using the instructions provided. -- 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.
