Re: [Puppet Users] ordering or chaining for generate() function

2012-04-25 Thread Luke Bigum
You might be able to do something like this (untested): $blackhole_variable = generate('/usr/bin/myscript') file { "conffile": ... } On 24/04/12 21:53, psychobyte wrote: Hi, I need to run a the generate() function (server side) in order to populate a data file for one of my modules. Is

[Puppet Users] ordering or chaining for generate() function

2012-04-24 Thread psychobyte
Hi, I need to run a the generate() function (server side) in order to populate a data file for one of my modules. Is there a way to ensure that the generate function is run before a config file is created (the contents of the file doesn't come directly from generate()). Right now I'm getting