Hi Jose,

I tried to add a custom fact on master to check a file which is not working 
when I run from agent. 

Regards,
Seby.

On Friday, June 27, 2014 12:04:56 PM UTC+5:30, Jose Luis Ledesma wrote:
>
> You can create a custom fact that reports if the tomcat is installed or 
> not, and do the installation process in this case.
>
> Moreover you could add the tomcat version to this custom fact too. This 
> way you will have an inventory, can decide when apply a patch and when not 
> ...
>
> Regards,
> El 27/06/2014 06:13, "Seby" <seby.f...@gmail.com <javascript:>> escribió:
>
>> 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 <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/puppet-users/fc0ef54b-5cdf-4e29-aa3c-8532948fcb49%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/puppet-users/fc0ef54b-5cdf-4e29-aa3c-8532948fcb49%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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/251abd85-1d1d-4a3e-b96d-31e4186223c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to