>> I'd advocate a mkdir -p style solution, unless anyone can see problems >> with that. > > > Well, I would say that we should either be localizing or not. We're now > defaulting to a value that works great for the linux world but doesn't even > work in the non-linux world. > > IMO, it's a far larger bug to mkdir -p /var/lib on, say, OS X and AIX than > to just have a case statement that localizes for a few basic OS choices.
I'd say that those are two distinct issues: what the default should be and how we should go about creating the directory if it doesn't exist. I agree that we should make the default sane on the various targets, but regardless of how the path is determined there's no reason to botch the creation of it. -- Markus ----------------------------------------------------------- The power of accurate observation is commonly called cynicism by those who have not got it. ~George Bernard Shaw ------------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
