Issue #3962 has been updated by Nigel Kersten.
Eric and any other interested Mac users... From re-reading the manpage for hier, I'm thinking we should maybe change to this location on OS X? /var/db/puppet Thoughts? ---------------------------------------- Bug #3962: 0.25.5 fails to start if /var/lib does not exist http://projects.puppetlabs.com/issues/3962 Author: eric sorenson Status: Accepted Priority: Normal Assigned to: Category: Target version: Affected version: 0.25.5 Keywords: Branch: Due to #86 and the 0.25.4->0.25.5 move of $vardir from /var (which always exists on Unix) to /var/lib (which might or might not exist), puppetd now fails to start on OSes without a /var/lib. This broke out of the box for me on both OS X and Solaris machines. The attached patch fixes the issue by adding a 'varparentdir' resource which is conditional upon root/not root EUID as confdir and vardir are. I'm not sure this is the best way to go about it and will happily take improvements that address the issue. before patch: <pre> err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist [ ... dependencies fail, startup aborts ... ] </pre> patched, as root: <pre> debug: /File[/var/lib]: Changing ensure debug: /File[/var/lib]: 1 change(s) debug: /File[/var/lib]/ensure: created [ .. startup succeeds ... ] </pre> not as root: <pre> debug: /File[/Users/eric/.puppet]: Autorequiring File[/Users/eric] [ no-op as this exists ] [ ... startup succeeds ... ] </pre> -- 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.
