----- "CraftyTech" <[email protected]> wrote: > puppet --version = 0.25.5.. Regex would be nice..
then see http://docs.puppetlabs.com/guides/language_tutorial.html#selectors > > On Sep 28, 12:32 pm, "R.I.Pienaar" <[email protected]> wrote: > > ----- "CraftyTech" <[email protected]> wrote: > > > I wonder if I could use an if/then statement for this one, or > perhaps > > > an function that picks up the 2650 from the value "PowerEdge > > > 2650".... > > > > what version puppet do you use? recent ones have regex this would > probably work for you > > > > > > > > > > > > > > > > > On Sep 28, 12:00 pm, "R.I.Pienaar" <[email protected]> wrote: > > > > ----- "CraftyTech" <[email protected]> wrote: > > > > > Interesting.... I used the notice with the single quote as > you > > > > > suggested.. and I get the notice with only one single > quotation: > > > --> > > > > > notice: Scope(Class[basic_dev::files]): The product is: > > > 'PowerEdge > > > > > 2650 <-- It spits it out with only one single quotation... > > > > > > so there's some weird things in the fact which is why its not > > > working for you > > > > > -- > > > 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. > > > > -- > > R.I.Pienaar > > -- > 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. -- R.I.Pienaar -- 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.
