Re: [Puppet Users] creating directories

2010-01-12 Thread Christopher Johnston
Ahh, ok cool I am using that for symlinks as well I will try that. Thx! -Chris On Tue, Jan 12, 2010 at 4:37 PM, Andres Olarte wrote: > Yes, > > Just use the file type, and set ensure to directory: > > file { "/etc/myapp": >ensure => directory > } > > > On Tue, Jan 12, 2010 at 4:34 PM, Chris

Re: [Puppet Users] creating directories

2010-01-12 Thread Scott Smith
Christopher Johnston wrote: What is the best way to have puppet create (mkdir) directories? I am currently using exec types, but is it possible to use a file type for this? http://reductivelabs.com/trac/puppet/wiki/TypeReference#file Look for "ensure" -scott -- You received this message

Re: [Puppet Users] creating directories

2010-01-12 Thread Andres Olarte
Yes, Just use the file type, and set ensure to directory: file { "/etc/myapp": ensure => directory } On Tue, Jan 12, 2010 at 4:34 PM, Christopher Johnston wrote: > What is the best way to have puppet create (mkdir) directories?  I am > currently using exec types, but is it possible to use