fec9410814
The sudo() block and/or the Puppet provisioner often returns newline characters as separate strings. This makes the chomp() ineffective and results in extraneous spacing between the output lines. Separate out the call to chomp() so that we only do it once. Then only output info if that line is not an empty string. |
||
---|---|---|
.. | ||
puppet.rb | ||
puppet_server.rb |