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 <andres.ola...@dotcms.org>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, Christopher Johnston
> <chjoh...@gmail.com> 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?
> > -Chris
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Puppet Users" group.
> > To post to this group, send email to puppet-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/puppet-users?hl=en.
> >
> >
>
>
>
> --
> Andres Olarte
> dotCMS
> Main: 305.858.1422
> Direct: 786.594.5285
> Fax: 305.397.1719
> www.dotCMS.org
>
> "Packt Publishing's 2009 Best Non PHP Open Source CMS Finalist"
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

Reply via email to