Can you explain further?

As of now, if I dont manually create 
${windir}/te_agent_8.4.2_en_windows_x86_64 which is actually 
c:\temp\te_agent_8.4.2_en_windows_x86_64 it blows up but creates never 
creates it otherwise

If I manual create the directories, the puppet cycle goes without error but 
the zip is never created/extracted to 
c:\temp\te_agent_8.4.2_en_windows_x86_64



On Monday, April 3, 2017 at 9:53:46 AM UTC-5, Luke Bigum wrote:
>
> Actually no, it's going to need to be some file that's inside the ZIP 
> archive, not the name of the ZIP archive itself. You get the idea though.
>
>
> On Monday, 3 April 2017 15:49:59 UTC+1, Luke Bigum wrote:
>>
>>
>> creates       => $windir,
>>
>>
>> ^^^  I'm fairly certain that this resource won't run if that file exists, 
>> which is most likely a directory (and does exist). I'd say it has to be 
>> this:
>>
>>
>>   creates       => "${windir}/te_agent_8.4.2_en_windows_x86_64.zip"
>>
>>
>>
>>
>> On Monday, 3 April 2017 15:42:56 UTC+1, Ryan Vande wrote:
>>>
>>> I posted this in slack puppet community, lets see if I can get more 
>>> ideas here 
>>>
>>> I have the following setup
>>>
>>> when puppet runs on the agent puppet node, no errors happen but nothing 
>>> else happens either, have a look please 
>>>
>>> Im using Puppet Archive for the following 
>>>
>>> Puppetfile:
>>> mod 'puppet-archive', '1.3.0'
>>> mod 'puppetlabs-stdlib', '4.16.0'
>>>
>>>
>>> hieradata/global.yaml:
>>> artifactory_host: artifactory.azcender.com
>>> tripwire::wintripdir: 'c://temp'
>>>
>>>
>>> Profile:
>>>
>>> include ::archive
>>> archive {"${windir}/te_agent_8.4.2_en_windows_x86_64.zip" :
>>>   ensure        => present,
>>>   source        => 
>>> "http://${artifactory_host}/artifactory/application-release-local/gov/usda/fs/busops/cio/Tripwire/te_agent_8.4.2_en_windows_x86_64.zip";,
>>>   extract       => true,
>>>   extract_path  => $windir,
>>>   creates       => $windir,
>>>   cleanup       => false,
>>>
>>>
>>> Puppet agent runs on the puppet node without error but nothing happens , 
>>> meaning no files are uploaded and extracted to the node 
>>> Any assistance is much appreciated 
>>>
>>

-- 
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/491702e1-6abb-4f3b-bead-b3ded33cdfa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to