Hi,

I would like to run the File resource below:

        file { 'autoconfig.php':
                path            => 
'/var/www/owncloud/config/autoconfig.php',
                ensure          => file,
                owner           => 'www-data',
                group           => 'www-data',
                content         => template("owncloud/autoconfig.php.erb"),
        }

only when a specific file (in my case: /var/www/owncloud/config/config.php) 
is missing. Is this somehow possible? Couldn't find my case in the puppet 
documentation...

Thanks!
John

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to