I just copied it into the necessary locations on the master since I couldn't think of a use case for it elsewhere.
On RHEL 5 I replaced: /usr/lib/ruby/site_ruby/1.8/puppet/parser/functions/extlookup.rb with <https://github.com/ripienaar/puppet-extlookup> puppet-extlookup/lib/puppet/parser/functions/extlookup.rb And added: puppet-extlookup/lib/puppet/util/extlookup/csv_parser.rb puppet-extlookup/lib/puppet/util/extlookup/puppet_parser.rb puppet-extlookup/lib/puppet/util/extlookup/yaml_parser.rb To /usr/lib/ruby/site_ruby/1.8/puppet/util/ I think that should do it. On Wed, Aug 3, 2011 at 10:28 AM, R.I.Pienaar <[email protected]> wrote: > > > ----- Original Message ----- > > > > On Wed, Aug 3, 2011 at 10:21 AM, R.I.Pienaar < [email protected] > wrote: > > > > > > > > > > > > > > > > ----- Original Message ----- > > > So.... the new extlookup that can apparently read YAML files, here: > > > > > > > > > > http://www.devco.net/archives/2011/05/28/pluggable_extlookup_for_puppet.php > > > > > > > > > Are there any docs on how to actually install? I need a _little_ > > > more > > > than a reference to the source code on github.... > > > > > > > its not in puppet core and probably wont be, a more complete system > > is @ http://www.devco.net/archives/tag/hiera > > > > > > > > > > I realise it's not integrated into puppet. Hence the reason for > > asking how to integrate into puppet. In the previous version of > > extlookup, before that one was integrated into puppet, you would > > copy extlookup.rb to a path on the client. How do you do it with > > this one? > > you can pluginsync out the extlookup.rb but the util/* stuff has to > be copied into the ruby libdir cos pluginsync is broken/incomplete > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
