thanks for the clarification. It's fixed by creating JSON format data and
using parsejson.
Thanks!
- Allen
On Tue, May 5, 2015 at 11:45 PM, Michael Pawlak wrote:
> Allen,
>
> The generate function simply returns the output of an external command, as
> executed on the puppet master.
>
> Since
Allen,
The generate function simply returns the output of an external command, as
executed on the puppet master.
Since bash only started supporting associative arrays (hashes/dictionaries)
in version 4 it is highly likely that your bash script is outputting a
string and not a hash. The forma
definitely helps! that's the road I was just researching, but it helps to
verify that I'm on the right track. :)
Thanks!
- Allen
On Tuesday, May 5, 2015 at 5:06:15 PM UTC-7, Allen Myers wrote:
>
> Hi,
>
> I have shell script that generates a hash of user accounts that need to be
> created/main
On Tuesday, May 5, 2015 at 5:06:15 PM UTC-7, Allen Myers wrote:
> So, based on the error messages, it's obvious that the generate() function
> is returning the string data type. Can I force it to return the hash data
> type?
> Or is there a way to convert a string to a hash?
>
The generate() f