Re: [Puppet Users] access "indexed" facter facts

2012-08-07 Thread tobias
> > > I have a fact which looks like that: drbdconnectionstate0. You see > > the "0" at the end... Now I'd like to access this fact in a > > "dynamic" way, the "0" should be variable. I'm thinking of something > > like that: if ${drbdconnectionstate0}${drbddevice} == > > 'Unconfigured'. > > B

Re: [Puppet Users] access "indexed" facter facts

2012-06-26 Thread R.I.Pienaar
- Original Message - > From: "tobias" > To: puppet-users@googlegroups.com > Sent: Tuesday, June 26, 2012 1:52:48 PM > Subject: [Puppet Users] access "indexed" facter facts > > Hi everyone, > > I have a fact which looks like that: drbdconnectionstate0. You see > the "0" at the end... No