Jira (PUP-4927) Add logfile option to exec
Title: Message Title Adrien Thebo updated an issue Puppet / PUP-4927 Add logfile option to exec Change By: Adrien Thebo Labels: triaged windows Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Jeff Sparrow commented on PUP-4927 Re: Add logfile option to exec not sure what else this needs? feel free to close this. its been 2 years with no movement. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4927 Add logfile option to exec Change By: Geoff Nichols Sprint: Agent Needs Information Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Geoff Nichols updated an issue Puppet / PUP-4927 Add logfile option to exec Change By: Geoff Nichols Sprint: Agent Needs Information Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Kenaz Kwa updated an issue Puppet / PUP-4927 Add logfile option to exec Change By: Kenaz Kwa Team: Agent & Platform Support Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Jeff Sparrow commented on PUP-4927 Re: Add logfile option to exec Perhaps I dont fully understand puppet with redirect operators. However, as an example, in order to execute commands and send to a log file I have to do funny (or what I think is funny) things. Such as: exec { qle2xxx driver update: command = C:\\Windows\\System32\\cmd.exe /c qaucli -fc -d \C:\\ProgramData\\PuppetLabs\\$qle25xx_2k12_driver_file\ C:\\ProgramData\\PuppetLabs\\qaucli_fc.log, path= $::path, timeout = 720, } or exec { 'wmi_access_exec': command = C:\\Windows\\System32\\cmd.exe /c powershell -Executionpolicy Unrestricted -File C:/ProgramData/PuppetLabs/wmi_access.ps1 C:\\ProgramData\\PuppetLabs\\wmi_access.log, path= $::path,
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Jeff Sparrow created an issue Puppet / PUP-4927 Add logfile option to exec Issue Type: New Feature Assignee: Unassigned Components: Platform Created: 2015/07/27 6:26 AM Environment: Windows Priority: Normal Reporter: Jeff Sparrow It would be very beneficial if puppet had a attribute for the exec parameter to log output to a file. Currently, running a command in windows and redirecting to a file really seems to be it or miss. It required fiddling around with different redirects for cmd, different ones for different versions of powershell, etc. In addition you have to actually call C:\Windows\System32\cmd.exe for puppet to even understand redirects (aside from |). Give windows users a way to handle logging to files without having to monkey around with different path calls, or different redirects in different environments.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Rob Reynolds updated an issue Puppet / PUP-4927 Add logfile option to exec Change By: Rob Reynolds Labels: windows Scrum Team: Windows Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Rob Reynolds commented on PUP-4927 Re: Add logfile option to exec Jeff Sparrow can you expand on what you are trying to do? Write now if you turn on logoutput it will write the output to the puppet log file. Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Josh Cooper commented on PUP-4927 Re: Add logfile option to exec Jeff Sparrow The exec type has a logoutput = true/false option, which will write the output of the exec command to stdout, is written to the Application Event Log, and included in the report sent to the master. It works for puppet's built-in exec provider as well as the powershell provider. Is that sufficient for what you're looking for? Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-4927) Add logfile option to exec
Title: Message Title Josh Cooper assigned an issue to Jeff Sparrow Puppet / PUP-4927 Add logfile option to exec Change By: Josh Cooper Assignee: JeffSparrow Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- You received this message because you are subscribed to the Google Groups Puppet Bugs group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.