Juan,

I don't see the puppet-java removing the installation file after the 
deployment. 

Regards,
Seby.

On Friday, June 27, 2014 12:20:52 PM UTC+5:30, Seby wrote:
>
> Juan,
>
> Let me see if I can adapt it to my need. I'll let you know the result.
>
> Thanks,
> SFK.
>
> On Friday, June 27, 2014 12:10:46 PM UTC+5:30, Juan Sierra Pons wrote:
>>
>> Hi 
>>
>> Another options is to modify another module that  acomplishes your 
>> final goal. For example this one: 
>> https://github.com/7terminals/puppet-java 
>>
>> This one copy the java source code to the agent, then extract it. It 
>> is already idempotent so new puppet run will not do anything. 
>>
>> With a few modifications it should fit your expectations 
>>
>> Best regards 
>>
>> --------------------------------------------------------------------------------------
>>  
>>
>> Juan Sierra Pons                                 ju...@elsotanillo.net 
>> Linux User Registered: #257202 
>> Web: http://www.elsotanillo.net Git: http://www.github.com/juasiepo 
>> GPG key = 0xA110F4FE 
>> Key Fingerprint = DF53 7415 0936 244E 9B00  6E66 E934 3406 A110 F4FE 
>> --------------------------------------------------------------------------------------
>>  
>>
>>
>>
>> 2014-06-27 6:13 GMT+02:00 Seby <seby.f...@gmail.com>: 
>> > Hi Puppet experts, 
>> > 
>> > I'm trying to install tomcat7*tar.gz on few puppet-agent machines. I've 
>> > defined a class that will create a user/group and copy the source file 
>> from 
>> > puppet-master then extracts the tomcat*.tar.gz file to its home 
>> directory 
>> > and deletes the source file. This seems to be working. But each time 
>> when 
>> > the agent runs(on all agents), it will copy the source file from the 
>> master 
>> > and then deletes it wasting the bandwidth. 
>> > 
>> > Is there a way to call the tomcat7 class only if the tomcat directory 
>> is not 
>> > present? 
>> > 
>> > Regards, 
>> > SFK. 
>> > 
>> > -- 
>> > 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...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> > 
>> https://groups.google.com/d/msgid/puppet-users/fc0ef54b-5cdf-4e29-aa3c-8532948fcb49%40googlegroups.com.
>>  
>>
>> > 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/ca6022c6-ace0-4563-a0f9-1933a552b5b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to