The file ensure for the tar file should only download when it changes
The untar can have a require on the file resource, and so on

Can you post your file resource and untar exec resource?

On Wed, Apr 25, 2012 at 5:51 PM, Suresh <suresh.k.u...@gmail.com> wrote:

> Can you guys please help me address this host configuration?
>
> 1) I have 5 different modules that need to be installed to each host/agent
> 1.1) from one of the modules, a large application tar file is downloaded
> by agent and performs untar to required folder structure.
> 1.2) before the "untar", required application services are stopped and
> after "untar' is complete all the services are started
>
> What I have observed is, agent is downloading the application tar file
> every 30 minutes (agent is running in daemon mode)
> and performing the complete process (1, 1.1, 1.2) which it shouldn't if
> the file is unchanged from its previous download.
>
>
> How can I configure agent, such that it should perform the installation,
> only if downloaded file is changed from previous download?
>
> Suresh
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/_YirDaiAVGwJ.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to