Malintha Adikari
2014-Jun-18 10:23 UTC
[Puppet Users] How to get logs in to the same termianl in agent side
Hi, I am executing a shell script in the puppet agent side. If I execute the same shell script in my local machine it will print several log messages to terminal. But when I execute it in the puppet agent it does not print any log into the agent terminal. How can I print the logs of the shell script when I run it using puppet ? I am using following command to execute the shell script. exec { "strating": user => 'root', environment => 'JAVA_HOME=/home/malintha/jdk1.6.0', path => $command_path, command => "/pathToShellScript/myScript.sh", * logoutput => true,* timeout => 3600, require => Exec['another goal'], } Regards, Malintha Adikari -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/dc3a5a66-8f3d-4efc-b1ab-e0f262efa746%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.