Does this actually work Nan?? Can somebody point me to any page where this is documented?
Toni On Friday, September 19, 2014 6:33:07 PM UTC+2, Nan Liu wrote: > > On Thu, Sep 18, 2014 at 6:19 PM, Daniel Johnson <tekn...@gmail.com > <javascript:>> 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/f8042e80-fa4d-45cd-892e-d46afd234a15%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.