Re: [Puppet-dev] Parse command output in a privoder

2012-09-30 Thread markus
> I'm working on a provider and it needs to parce the output from a > command that's space separated on a single line. So far I've been > unsuccessful at splitting it up so I can loop thru the values to see > if a certain value is present, my utter lack of programming exp isn't > helping things. H

[Puppet-dev] Parse command output in a privoder

2012-09-30 Thread Darin Perusich
Hello all, I'm working on a provider and it needs to parce the output from a command that's space separated on a single line. So far I've been unsuccessful at splitting it up so I can loop thru the values to see if a certain value is present, my utter lack of programming exp isn't helping things.