Hello Puppet users,
I'm working on a webserver module that needs to ensure directories for
document roots. I tried doing this by using file resources like so:
file { 'vhost-A':
ensure => 'directory',
path => '/var/www/sharedvhost',
...clipped for brevity...
}
file { 'vhost-B':
ensure => 'directory',
path => '/var/www/sharedvhost',
...clipped for brevity...
}
This, sadly, does not work. Even though I avoid the pitfall of declaring
two resources by the same name Puppet is clever enough to see that I'm
ensuring the same path in the end.
What I'd like the result to be, is the existence of /var/www/sharedvhost
with the ability for my vhost resource type to know about it but without
throwing errors.
Any help would be much appreciated!
Bas
--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/6da3c9cdcd82cec7702bfb91ab36c90e%40area536.com.
For more options, visit https://groups.google.com/d/optout.