Hi, On Wednesday, April 25, 2012 5:49:03 PM UTC+1, psychobyte wrote: > > Essentially, yeah. > [...]
> I want to guarantee that the generate function runs before any file > resources. > In such case, look at stages, perhaps it will help. Other than that, if you want to make sure that said configuration file is not present on the client side and only then run generate, you could have a fact (I can help writing one) that yields a boolean if the configuration file exists or not and then use this value in an if-statement where you'd run generate() function conditionally. KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Y-sbYG_nwV0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.