“
but still doesn't do what we wanted. In that case, how can you see the command output? You can use the logoutput attribute. How to do it… Follow these steps in order to log command output: Define an exec resource with the logoutput parameter as shown in the following code snippet: exec { 'misbehaving-command': command => '/bin/cat /etc/hostname', logoutput => true, }
”
”