Hi..,

Am not using file...m using exec and in that wget command..

On Friday, 22 February 2013 19:54:47 UTC+5:30, [email protected] wrote:
>
> yarlagadda ramya <[email protected] <javascript:>> writes: 
>
> > hi all, 
> > 
> > I wote a module for downloading jdk, jboss, mysql and installing 
> them..now i 
> > would like to apply a condition to it...in such a way that..if its 
> already 
> > downloaded, it should not download it.. 
> > 
> > can some one please help me with this... 
> > 
>
> Are you using File or using an external tool (wget, curl, etc..)? 
>
> The File resource should do that for you automatically.  It will 
> checksum the file it downloads, and if it already exists on the node 
> then it won't download it again. 
>
> Note that the File resource will leave the packages on the node, so it's 
> best to have a directory set aside for storing things puppet has 
> downloaded. 
>
> -- 
> Kyle Sexton 
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to