search for: random_1

Displaying 1 result from an estimated 1 matches for "random_1".

Did you mean: random_r
2013 Aug 01
3
escape sequence within generate function
...ately what I''m trying to do is generate some random strings, store them as variables, and use those variables to populate configuration files stored as templates. I can get this to work when applying the template on the localhost, but it fails when applied via the puppet master.: > $random_1 = generate("/bin/sh", "-c", "/bin/cat /dev/urandom | /usr/bin/tr- > dc ''a-z0-9'' | /usr/bin/fold -w 8 | /usr/bin/head -n 1 | /usr/bin/tr -d > ''\n''") The closest I''ve come is to use: > $random_1 = generate('...