On Fri, Sep 18, 2009 at 10:08 PM, Luke Schierer <luke.schie...@gmail.com> wrote: > On Sep 18, 2009, at 18:30 EDT, Disconnect wrote: >> (Wow, hi Luke! LTNT!) > Yes, it has! >> >> The standard way to do that is: >> source => >> ["puppet:///foo/file-$hostname","puppet:///foo/file-$lsbdistcodename >> ","puppet:///foo/file"] >> - check for modules/foo/file-www4, then file-jaunty, then file >> > > As I understood source arrays, would only grab the first one to > succeed, Type Reference says "If you specify multiple file sources for > a file, then the first source that exists will be used.". Is that > page out of date?
I missed that part of the problem, although it looks like Peter covered it. Depending on what you are doing, stored configs might be a good answer as well: http://www.rottenbytes.info/?p=223 http://www.masterzen.fr/2009/08/08/storeconfigs-use-cases/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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 -~----------~----~----~----~------~----~------~--~---