Am 21.03.2014 18:48, schrieb Peter Bukowinski:

> exec { 'fix_mount_perms':
>   command => 'chmod 2755 /app_dir && chown root:root /app_dir',
>   refreshonly => true,
> }
>
> Setting the exec's refreshonly parameter to true prevents it from
> running every time, but it will run any time the mount resource changes.

Shouldn't you add "subscribe=>Mount['/app_dir']", then? Otherwise,
there's nothing that triggers the refresh.

Bye...

    Dirk
-- 

*Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions
*Recommind GmbH*, Von-Liebig-Straße 1, 53359 Rheinbach
*Tel*: +49 2226 1596666 (Ansage) 1149
*Email*: [email protected] <mailto:[email protected]>
*Skype*: dirk.heinrichs.recommind
www.recommind.com <http://www.recommind.com>



http://www.recommind.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/532FFD22.9040502%40recommind.com.
For more options, visit https://groups.google.com/d/optout.

<<inline: Logo.gif>>

Reply via email to