Re: [Puppet Users] sourceselect & multiple sources not working

2011-04-07 Thread Brett Cave
On Thu, Apr 7, 2011 at 3:04 PM, Felix Frank wrote: > note here http://docs.puppetlabs.com/references/stable/type.html#file > that sourceselect "is only used in recursive copies". > ah ok. thanks Single files cannot be merged. After all, how would you define the merge > of two files? > concat :

[Puppet Users] sourceselect & multiple sources not working

2011-04-07 Thread Brett Cave
Hi, I am trying to configure a file resource with multiple sources, and browsing list archives and forums seems to indicate that sourceselect parameter with an array for the source param. But the final file gets created using the first matching parameter in the array. file { '/etc/sysconfig/m

[Puppet Users] Serverside concatenation and conditional checks

2011-04-06 Thread Brett Cave
Hi, I'm trying to configure sysconfig file for a module. within modules, i have mod/files/ directory which contains sysconfig-base and sysconfig-nodename files. >From the module's init.pp, I then want to create a final file that consists of the concatenation of sysconfig-base and sysconfig-nodena