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

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 9 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedMay 30, '13 at 8:26p
activeJun 3, '13 at 9:44a
posts9
users5
websitepuppetlabs.com

People

Translate

site design / logo © 2021 Grokbase