Re: [Puppet Users] Re: multiple resources dependencies

2012-04-05 Thread Pablo Fernandez
Hi John, I like option 2) very much, but 1) opens new doors too :) A small extract from the manual, just for clarification: " Defaults are not global — they only affect the current scope and scopes below the current one. If you want a default setting to affect your entire configuration, your o

[Puppet Users] Re: multiple resources dependencies

2012-04-05 Thread jcbollinger
On Apr 5, 4:47 am, Pablo Fernandez wrote: > Dear all, > > I have a class where I declare one file and many execs with > create_resources: > > class module::yeah { >    file {"myfile"} >    $hash = parseyaml(inline_template('hereigeneratemynicehash.to_yaml')) >    create_resources ('exec', $hash)