On Jul 30, 2010, at 2:53 AM, quicksilver03 wrote:

> Try adding an ensure => present to your File resource and see if it
> avoids downloading the RPM file over and over again.

I'm almost sure the problem is he's putting the rpm in /tmp which is nuked by 
the OS on reboot.  One of my solutions was just to put them in a folder that 
isn't nuked on reboot.

> On Jul 29, 10:40 pm, Rustler <coltsixshoo...@gmail.com> wrote:
>> I am using version 2.6 and it would be nice if you could use a puppet
>> url for the package source, but that does not appear to work (docs say
>> it has to be a local file).
>> 
>> My other choices seem to be an nfs mount, or a local repo server.
>> 
>> Thanks
>> 
>> On Jul 29, 11:23 am, Patrick Mohr <kc7...@gmail.com> wrote:
>> 
>> 
>> 
>>> On Jul 29, 2010, at 9:45 AM, Rustler wrote:
>> 
>>>> This code is working - but due to the file declaration it keeps
>>>> downloading the rpm even after the package gets installed.
>> 
>>>> 1. How do I stop the rpm from downloading after the package is
>>>> installed?
>> 
>>> Best method:
>>> *) If at all possible you should just replace this with a real package 
>>> repository.
>> 
>>> Should also work:
>>> *) Put the rpm files on a webserver and download them as needed.  I think 
>>> rpm can take URLs instead of local paths.
>>> or
>>> *)Install from a network drive like nfs
>> 
>>> Not recommended:
>>> *) Just put the rpms into a folder you create.  It will keep growing 
>>> forever, but it probably won't ever get very big unless you release a lot 
>>> of packages.  Trust me on this, pushing out big files with puppet is 
>>> probably a mistake.  It will put a large load on the puppetmaster, and if 
>>> you are using a version of puppet less than 2.6.0, the RAM requirements on 
>>> the client and serve will be horrendous.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-us...@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-us...@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