I just use "ensure => present" 

I manage versions with yum (Red Hat Enterprise 5) 
But puppet does manage my yum repository configuration. 


“Sometimes I think the surest sign that intelligent life exists elsewhere in 
the universe is that none of it has tried to contact us.” 
Bill Waterson (Calvin & Hobbes) 

----- Original Message -----
From: "François Chenais" <[email protected]> 
To: [email protected] 
Sent: Tuesday, September 24, 2013 4:31:10 PM 
Subject: [Puppet Users] What's the best practice to manage software updates 
using puppet ? 


Hello, 

I got many classes, using the well known template ... 

package 
ensure => XXX 
notify => service 

file 
require => package 
notify => service 

service 
require => File, Package 


... with ensure value XXX set to 'latest'. 


This implies that package could be updated when I change a value 
in config file even if I don't want to update it ... especially in production 
... 

A solution can be changing all ensure value to 'present' or 'installed' but I'm 
not 
the owner of the code so I would like to know if there is a way to 

- deactivate the package update through a command line option ? 
- change the ensure value using 

- a command line option 
- a fact 
- a tag 
- ??? 



More generally, what's the best practice to manage software updates using 
puppet : 

- ensure => present 
- fix pkg repositories :/ 
- ??? 


Thanks a lot 


François 










-- 
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 . 
For more options, visit https://groups.google.com/groups/opt_out . 

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to