Re: [Puppet Users] Re: members of collected resources

2012-06-13 Thread Adam Heinz
On Wed, Jun 13, 2012 at 9:37 AM, jcbollinger wrote: > I would recommend instead recording host 'nagios''s IP in a class variable > or an external data file, and having other nodes retrieve it from there. > Yeah, I put it in my ENC as a global variable. Not very elegant, but it works. -- You re

[Puppet Users] Re: members of collected resources

2012-06-13 Thread jcbollinger
On Tuesday, June 12, 2012 4:57:13 PM UTC-5, Adam Heinz wrote: > > Is it possible to get the value of a member variable on a collected > resource? Something like > > Host <<| name == 'nagios' |>> > $nagiosip = Host["nagios"]::ip > > Gepetto has red lined all of my guesses so far. > Gene