Why is all puppet output formatted as a shell error?
Is there a reason why Puppet adopts the same format as shell error messages for every line of output?
It means that when scripting tools I have to implement special handling for Puppet output to avoid false positives for shell errors....
Is there any reason for adopting this format?
e.g - Puppet
info: Applying configuration version '1397604843'
notice: //base::rsync_puppet/Exec[rsync current environment]/returns: executed successfully
[brad@localhost muse]$ runcmd
bash: runcmd: command not found
[brad@localhost muse]$ ls wibble
ls: cannot access wibble: No such file or directory
So when grepping for shell errors with a regex ... (more)