Re: [Puppet Users] Exec Command
Hello On Thu, Sep 1, 2016 at 3:30 PM, megha sharmawrote: > Hello, > > Where can I find the output logs after running exec command on windows > puppet agent. Check Event Viewer of Windows. https://docs.puppet.com/puppet/4.2/reference/services_agent_windows.html#logging > > Thanks, > Megha > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/752a48c3-5c8a-494e-8111-51fb4f9a5500%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Thanks & Regards Arpit Tolani -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAD3MydDvs8dSa5uC_rCzULEbsM5eyJPRh7vEt57ijVJvLAnBtQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Announce, Puppet Agent 1.6.2 Available
Puppet Agent 1.6.2 is now available. This release includes several bugfixes for Puppet. Check out the full release notes here: https://docs.puppet.com/puppet/latest/reference/release_notes_agent.html To install or upgrade puppet-agent, follow the getting started directions: http://docs.puppetlabs.com/puppet/latest/reference/index.html -- Sean P. McDonald Associate Release Engineer, Puppet -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAOPg%3DQe1dMFGUHF1gh56MudQfSHMXWJmOOg-xJvQUP8JFpnoSw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Exec Command
On Thu, Sep 1, 2016 at 3:00 AM, megha sharmawrote: > Hello, > > Where can I find the output logs after running exec command on windows > puppet agent. > > Thanks, > Megha > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/752a48c3-5c8a-494e-8111-51fb4f9a5500%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. Hi Megha, The output should be recorded as an event in Event Viewer (in Windows Logs => Application). You'll need to specify `logoutput => true` in your exec resource to actually log the output though, ie: For example with: exec { 'my command' : command => 'Write-Host "hello world"', provider=> 'powershell', logoutput => true, } -- Moses Mendoza Puppet Labs -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CA%2B421WZbtHL%3Dftmskg4D0hn%2Bi%2BQxFKZe_ym9pKRKrZE8adDD7A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Exec Command
Hello, Where can I find the output logs after running exec command on windows puppet agent. Thanks, Megha -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/752a48c3-5c8a-494e-8111-51fb4f9a5500%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.