Displaying 1 result from an estimated 1 matches for "jboss_apache".
2008 Nov 20
9
create a file only if directory exists
...;m trying to create a file called site1.conf in /apps/apache/conf.d
only if /var/www/html/site1 directory exists.
file { "/apps/apache/conf.d/site1.conf":
ensure => present,
content => template("apache/virtual_host.erb"),
notify => Service["jboss_apache"],
require => File["/var/www/html/site1"]
}
--~--~---------~--~----~------------~-------~--~----~
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@googlegrou...