On Thu, Oct 6, 2011 at 11:22 PM, Stefan Schulte
<stefan.schu...@taunusstein.net> wrote:
>
> You could create the mountpoint with an exec resource. Like
>
>    define mymount (.....) {
>      exec { "create_${name}":
>        command => "/bin/mkdir -m 0755 ${name}",
>        creates => $name,
>      }
>      mount { $name:
>        ...
>        require => Exec["create_${name}"],
>      }
>    }
>
> You can now use a file resource to set e.g. owner and group on the
> mounted path.

Ah, yes that would work well, at least in the short term.

-- 
Jeff Ollie

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@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