On Thu, Sep 18, 2014 at 6:19 PM, Daniel Johnson <tekno...@gmail.com> wrote:
> Things like > > require: File['somefile'] > > or > > require: > File: somefile > > both crash, and burn. > > Not having a require also causes failure as it tries to do things it > can't without the prerequisite. > > After hours of searching I couldn't find any examples to work from. If you are building a resource hash for create_resources, it's just quoted string: --- notify: example1: message: "first" example2: message: "second" require: "Notify[example1]" create_resources(notify, hiera('notify')) HTH, Nan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACqVBqA5jNoPgy62tA33675Z1xJ_LV7K7gzjfLMgA1nvPrWZuw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.