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.... Doug. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
----- 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 -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wed, Aug 3, 2011 at 10:21 AM, R.I.Pienaar <rip@devco.net> 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? Doug. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
----- Original Message -----> > On Wed, Aug 3, 2011 at 10:21 AM, R.I.Pienaar < rip@devco.net > 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 puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wed, Aug 3, 2011 at 10:28 AM, R.I.Pienaar <rip@devco.net> wrote:> > > ----- Original Message ----- > > > > On Wed, Aug 3, 2011 at 10:21 AM, R.I.Pienaar < rip@devco.net > 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 > >Thanks, but... I have no idea what ''pluginsync out the extlookup.rb'' stuff'' means... Not really sure about what the rest of that statement means either... Doug. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
----- Original Message -----> > > > > 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 > > > > > > > > Thanks, but... > > > I have no idea what ''pluginsync out the extlookup.rb'' stuff'' means... > > > Not really sure about what the rest of that statement means either...A simple google search for ''puppet pluginsync'' suggests that this is incredibly well documented. Maybe you just didn''t try to help yourself first before asking others to spoon feed you? -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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 <rip@devco.net> wrote:> > > ----- Original Message ----- > > > > On Wed, Aug 3, 2011 at 10:21 AM, R.I.Pienaar < rip@devco.net > 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 puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > 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 puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Wed, Aug 3, 2011 at 10:37 AM, R.I.Pienaar <rip@devco.net> wrote:> > > ----- Original Message ----- > > > > > > > > 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 > > > > > > > > > > > > > > > > Thanks, but... > > > > > > I have no idea what ''pluginsync out the extlookup.rb'' stuff'' means... > > > > > > Not really sure about what the rest of that statement means either... > > A simple google search for ''puppet pluginsync'' suggests that this is > incredibly well documented. > > Maybe you just didn''t try to help yourself first before asking others > to spoon feed you? > >There''s not a single reference to the word ''pluginsync'' on your web page. I''ve never even heard of that before. How was I supposed to know to google for ''pluginsync''? Good grief... Doug. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.