Essentially, yeah. we have a data file that needs updating on the server. This is done through a custom script. i want to use generate() to run that script server side before we re-create the config files via puppet. I want to guarantee that the generate function runs before any file resources.
Thanks. On Wednesday, April 25, 2012 6:07:05 AM UTC-7, jcbollinger wrote: > > > > On Apr 24, 3:53 pm, psychobyte <psychob...@gmail.com> wrote: > > 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()). > > > So the script run via generate() has some kind of side effect on the > master that later generation of the config file relies on? What a > terrible strategy. If you explain your problem in more detail then it > is likely that we can suggest a superior alternative. > > > John > -- 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/-/hSIvD25sp0gJ. 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.