Hi All
I would like to define multiple file sources for a file but with more
than one of content, source, target!
The goal is to have a template by default for a file but if a specific
source file exists for it, then use this source, first.
something like:
source => [
"puppet://$puppetserver/files/etc/apache2/sites-
available/${name}/${hostname}",
"puppet://$puppetserver/files/etc/apache2/sites-
available/${name}/default",
template("apache2/server_virtual_typo3.erb"), #
],
This get an error!
warning: Configuration could not be instantiated: You cannot specify
more than one of content, source, target at ...
OK I understand template it's a content target. But we can not define
multiple target in one File definition! ( source => [ ... ] , content
=> template.... )
How can i solve this problem ?
Thanks in advanced
Gilbert
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---