Re: [Puppet Users] How to create a directory if that path does not yet exist?

2012-10-03 Thread Marc Haber
On Mon, Oct 01, 2012 at 04:11:06PM -0400, Thomas Linkin wrote: There is no way in the resource declaration for 'file' to stop it from ensuring your symlink is made into a directory. That is because this is the state you're asking to have ensured when you compile that resource into a catalog.

Re: [Puppet Users] How to create a directory if that path does not yet exist?

2012-10-01 Thread Thomas Linkin
Marc, There is no way in the resource declaration for 'file' to stop it from ensuring your symlink is made into a directory. That is because this is the state you're asking to have ensured when you compile that resource into a catalog. What you may want to do is find a way to have the

[Puppet Users] How to create a directory if that path does not yet exist?

2012-09-28 Thread Marc Haber
Hi, I have the following resource defined: file { /var/lib/foo: ensure = directory, owner = root, group = root, mode = 0755, } On some systems, but not on all, I have /var/lib/foo symlinked to another partition with