On Wed, Jul 2, 2014 at 11:26 AM, Rakesh Kathpal <[email protected]> wrote:

> Yes.. it works perfectly from commandline..
> On 2 Jul 2014 19:33, "Brahim Dagher" <[email protected]> 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 [email protected].
>> 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=email&utm_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 [email protected].
> 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=email&utm_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 [email protected].
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.

Reply via email to