Re: [Puppet Users] Re: postrun command in windows
Dear Josh, Thanks a lot for the update. I understand this seems to be a bug.. have seen the ticket open on this.. Wanted to know if there any workaround? Thanks Regards, Rakesh K. On Fri, Jul 4, 2014 at 12:46 AM, Josh Cooper j...@puppetlabs.com wrote: On Wed, Jul 2, 2014 at 11:26 AM, Rakesh Kathpal rkath...@gmail.com wrote: Yes.. it works perfectly from commandline.. On 2 Jul 2014 19:33, Brahim Dagher brahim.dag...@gmail.com wrote: Do you have success running 'puppet facts upload' from the command line? On Tuesday, July 1, 2014 7:38:40 AM UTC-4, Rakesh K wrote: Hi, My puppet.conf on windows looks like the following [main] server=mypuppetmaster.com pluginsync=true autoflush=true environment=production certname =mypuppetagent.com report=true postrun_command='puppet facts upload' When I am trying the puppet run, I am getting the error below *Error: Could not run command from postrun_command: CreateProcess() failed: The system cannot find the file specified.* I even tried using the complete path but still same issue... I am using puppet 3.4.2., please let me know if there is any resolution for this issue.. Thanks, Rakesh K. -- 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/b8935d03-9dd1-48e4-9efe-c26877624003%40googlegroups.com https://groups.google.com/d/msgid/puppet-users/b8935d03-9dd1-48e4-9efe-c26877624003%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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/CAEJrXMW_hshroTEyathLMM%3DiL7kPgn0zZzn5hMfU4zMJ3XDa8g%40mail.gmail.com https://groups.google.com/d/msgid/puppet-users/CAEJrXMW_hshroTEyathLMM%3DiL7kPgn0zZzn5hMfU4zMJ3XDa8g%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. This is https://tickets.puppetlabs.com/browse/PUP-1431. If you use process monitor, you will likely see puppet is calling CreateProcess with a program named puppet facts upload instead of the puppet program with arguments facts upload. Josh -- Josh Cooper Developer, Puppet Labs *Join us at PuppetConf 2014 http://www.puppetconf.com/, September 20-24 in San Francisco* *Register by July 31st to take advantage of the Early Bird discount https://puppetconf2014.eventbrite.com/?discount=EarlyBird **—**save $249!* -- 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%2Bu97u%3D9GDccKZUhbvN8qCOr_m%2BY1rTV84wzXBvWrHgpnE%3D%2Bhg%40mail.gmail.com https://groups.google.com/d/msgid/puppet-users/CA%2Bu97u%3D9GDccKZUhbvN8qCOr_m%2BY1rTV84wzXBvWrHgpnE%3D%2Bhg%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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/CAEJrXMWWjA5_W7HaMa_3OWXPYjz1B5y2zDS9f9%3DShQQgnTaEAg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Re: postrun command in windows
On Wed, Jul 2, 2014 at 11:26 AM, Rakesh Kathpal rkath...@gmail.com wrote: Yes.. it works perfectly from commandline.. On 2 Jul 2014 19:33, Brahim Dagher brahim.dag...@gmail.com wrote: Do you have success running 'puppet facts upload' from the command line? On Tuesday, July 1, 2014 7:38:40 AM UTC-4, Rakesh K wrote: Hi, My puppet.conf on windows looks like the following [main] server=mypuppetmaster.com pluginsync=true autoflush=true environment=production certname =mypuppetagent.com report=true postrun_command='puppet facts upload' When I am trying the puppet run, I am getting the error below *Error: Could not run command from postrun_command: CreateProcess() failed: The system cannot find the file specified.* I even tried using the complete path but still same issue... I am using puppet 3.4.2., please let me know if there is any resolution for this issue.. Thanks, Rakesh K. -- 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/b8935d03-9dd1-48e4-9efe-c26877624003%40googlegroups.com https://groups.google.com/d/msgid/puppet-users/b8935d03-9dd1-48e4-9efe-c26877624003%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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/CAEJrXMW_hshroTEyathLMM%3DiL7kPgn0zZzn5hMfU4zMJ3XDa8g%40mail.gmail.com https://groups.google.com/d/msgid/puppet-users/CAEJrXMW_hshroTEyathLMM%3DiL7kPgn0zZzn5hMfU4zMJ3XDa8g%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. This is https://tickets.puppetlabs.com/browse/PUP-1431. If you use process monitor, you will likely see puppet is calling CreateProcess with a program named puppet facts upload instead of the puppet program with arguments facts upload. Josh -- Josh Cooper Developer, Puppet Labs *Join us at PuppetConf 2014 http://www.puppetconf.com/, September 20-24 in San Francisco* *Register by July 31st to take advantage of the Early Bird discount https://puppetconf2014.eventbrite.com/?discount=EarlyBird **—**save $249!* -- 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%2Bu97u%3D9GDccKZUhbvN8qCOr_m%2BY1rTV84wzXBvWrHgpnE%3D%2Bhg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: postrun command in windows
Appreciate any insight on this issue??? On Tue, Jul 1, 2014 at 5:08 PM, Rakesh Kathpal rkath...@gmail.com wrote: Hi, My puppet.conf on windows looks like the following [main] server=mypuppetmaster.com pluginsync=true autoflush=true environment=production certname =mypuppetagent.com report=true postrun_command='puppet facts upload' When I am trying the puppet run, I am getting the error below *Error: Could not run command from postrun_command: CreateProcess() failed: The system cannot find the file specified.* I even tried using the complete path but still same issue... I am using puppet 3.4.2., please let me know if there is any resolution for this issue.. Thanks, Rakesh K. -- 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/CAEJrXMV8F4wvvd%2BZ5VNvG0rDSAnE_qs74%3DmR01LN7bmqhq7EbA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Re: postrun command in windows
Do you have success running 'puppet facts upload' from the command line? On Tuesday, July 1, 2014 7:38:40 AM UTC-4, Rakesh K wrote: Hi, My puppet.conf on windows looks like the following [main] server=mypuppetmaster.com pluginsync=true autoflush=true environment=production certname =mypuppetagent.com report=true postrun_command='puppet facts upload' When I am trying the puppet run, I am getting the error below *Error: Could not run command from postrun_command: CreateProcess() failed: The system cannot find the file specified.* I even tried using the complete path but still same issue... I am using puppet 3.4.2., please let me know if there is any resolution for this issue.. Thanks, Rakesh K. -- 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/b8935d03-9dd1-48e4-9efe-c26877624003%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Re: postrun command in windows
Yes.. it works perfectly from commandline.. On 2 Jul 2014 19:33, Brahim Dagher brahim.dag...@gmail.com wrote: Do you have success running 'puppet facts upload' from the command line? On Tuesday, July 1, 2014 7:38:40 AM UTC-4, Rakesh K wrote: Hi, My puppet.conf on windows looks like the following [main] server=mypuppetmaster.com pluginsync=true autoflush=true environment=production certname =mypuppetagent.com report=true postrun_command='puppet facts upload' When I am trying the puppet run, I am getting the error below *Error: Could not run command from postrun_command: CreateProcess() failed: The system cannot find the file specified.* I even tried using the complete path but still same issue... I am using puppet 3.4.2., please let me know if there is any resolution for this issue.. Thanks, Rakesh K. -- 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/b8935d03-9dd1-48e4-9efe-c26877624003%40googlegroups.com https://groups.google.com/d/msgid/puppet-users/b8935d03-9dd1-48e4-9efe-c26877624003%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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/CAEJrXMW_hshroTEyathLMM%3DiL7kPgn0zZzn5hMfU4zMJ3XDa8g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.