There are actually two different issues here:

On Tue, Feb 18, 2014 at 12:31 PM, jmp242 <[email protected]> wrote:

> Here's another test where I just added --test to your command, and passed
> to a log file. It should show my issue. Anyway, it does look very similar
> an error, though I can't figure out why any of the string manipulation
> would fail on openvpn.exe and not on fusion.exe ...
>
> On Tuesday, February 18, 2014 3:26:23 PM UTC-5, Rob Reynolds wrote:
>
>> I didn't see the error that you described (your log notes an issue with
>> forking), but have a look at https://tickets.puppetlabs.
>> com/browse/PUP-1389 (which speaks of the require_file issues you
>> describe). We've recently fixed that issue and it will be in the next
>> release. I'm not sure these are the same issues, however.
>>
>>
>> On Tue, Feb 18, 2014 at 1:54 PM, jmp242 <[email protected]> wrote:
>>
>>> As far as I can tell. I'm on Windows, and it scrolls off the screen. It
>>> didn't seem to capture much when I tried to redirect to a file.
>>>
>>>
>>> On Tuesday, February 18, 2014 2:51:01 PM UTC-5, Rob Reynolds wrote:
>>>
>>>> Is this the correct log file for the error you described?
>>>>
>>>>
>>>> On Tue, Feb 18, 2014 at 1:06 PM, jmp242 <[email protected]> wrote:
>>>>
>>>>> Puppet 3.4.2, as specified. I've attached a log file.
>>>>>
>>>>>
>>>>>
>From the log file: "Error: Could not run: fork() function is unimplemented
on this machine"

This is https://tickets.puppetlabs.com/browse/PUP-1275. You either need to
explicitly specify --onetime, or --test (which automatically sets onetime).
Unfortunately this means you cannot setup a listening puppet agent and use
kick on it. This is a regression introduced in
http://projects.puppetlabs.com/issues/17361



>>>>>
>>>>> On Friday, February 7, 2014 12:35:32 PM UTC-5, Rob Reynolds wrote:
>>>>>
>>>>>> First question - what version of puppet?
>>>>>>
>>>>>> Second question - can you run puppet apply (or agent) with --trace
>>>>>> --debug --verbose and post the relevant results? We have some recent 
>>>>>> fixes
>>>>>> related to this.
>>>>>>
>>>>>>
>>>>>> On Thu, Feb 6, 2014 at 3:27 PM, jmp242 <[email protected]> wrote:
>>>>>>
>>>>>>>  I'm really lost as to why this is failing.
>>>>>>>
>>>>>>> file{ 'openvpn.exe':
>>>>>>> path => 'C:/ProgramData/puppetfiles/openvpn.exe',
>>>>>>> source => "puppet:///modules/openvpn/openvpn.exe",
>>>>>>> owner => 'SYSTEM',
>>>>>>> group => 'Administrators',
>>>>>>> mode => 0770,
>>>>>>> provider => windows,
>>>>>>> ensure => present,
>>>>>>> }
>>>>>>>
>>>>>>> gives me this error:
>>>>>>>
>>>>>>> ReplaceFile(C:/ProgramData/puppetfiles/openvpn.exe,
>>>>>>> C:/ProgramData/puppetfiles/openvpn.exe20140206-5012-wvhezn): The
>>>>>>> system cannot find the file specified.
>>>>>>>
>>>>>>>
>>>>>>> change from absent to file failed: 
>>>>>>> ReplaceFile(C:/ProgramData/puppetfiles/openvpn.exe,
>>>>>>> C:/ProgramData/puppetfiles/openvpn.exe20140206-5012-wvhezn): The
>>>>>>> system cannot find the file specified.
>>>>>>>
>>>>>> This is https://tickets.puppetlabs.com/browse/PUP-1389. This was due
to memory corruptions in the windows gems we use (
https://tickets.puppetlabs.com/browse/PUP-1368), and a ruby bug with
wide-character NULLs (
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=41920&view=revision)
that will sometimes cause this error. This issue is resolved in the 3.4.3
release.

>
>>>>>>> I have no idea why. I'm using Puppet agent 3.4.2. A very similar
>>>>>>> resource:
>>>>>>>
>>>>>>> file { 'fusion.exe':
>>>>>>> path => 'C:/ProgramData/puppetfiles/fusion.exe',
>>>>>>> source => "puppet:///modules/fusionagent/fusion.exe",
>>>>>>> owner => 'SYSTEM',
>>>>>>> group => 'Administrators',
>>>>>>> mode => 0770,
>>>>>>> provider => windows,
>>>>>>> ensure => present,
>>>>>>> }
>>>>>>>
>>>>>>> works...
>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>> 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/8a72f9a1-1402
>>>>>>> -4e2d-80fb-703a5133e50e%40googlegroups.com.
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Rob Reynolds
>>>>>> Developer, Puppet Labs
>>>>>>
>>>>>> *Join us at PuppetConf 2014, September 23-24 in San Francisco - *
>>>>>> http://bit.ly/pupconf14
>>>>>>
>>>>>  --
>>>>> 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/ee3cdc52-1ef0-49aa-9e4b-2b0f11cf529d%40goog
>>>>> legroups.com.
>>>>>
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Rob Reynolds
>>>> Developer, Puppet Labs
>>>>
>>>> *Join us at PuppetConf 2014, September 23-24 in San Francisco - *
>>>> http://bit.ly/pupconf14
>>>>
>>>  --
>>> 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/29c4034b-e628-46a8-a21f-e739c8427928%
>>> 40googlegroups.com.
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>
>>
>> --
>> Rob Reynolds
>> Developer, Puppet Labs
>>
>> *Join us at PuppetConf 2014, September 23-24 in San Francisco - *
>> http://bit.ly/pupconf14
>>
>  --
> 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/26e701c0-59f2-46bf-86da-3e8e8ed14052%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Josh Cooper
Developer, Puppet Labs

*Join us at PuppetConf 2014, September 23-24 in San Francisco* -*
http://bit.ly/pupconf14
<http://bit.ly/pupconf14>*
Register now and save $350!

-- 
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%2Bu97ukJd7%3DOp9%2BLbP9%3DPt7L6S45SNnXo576-nvB1Df15fE%2BaA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to