hello, ----- "Trevor Vaughan" <tvaug...@onyxpoint.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > When I've needed to do this, I let the Package type handle version > upgrades and then wrote a custom fact to detect the version that was > installed and adjust the system accordingly. > > You could also use node-specific variables or defines to do this. I have a define: define pt::package() { package{$name: ensure => extlookup("${name}_pkg", "present") } } It uses extlookup[1] so it means using the extlookup data I decide that a certain environment/country/operating system etc have different versions from others, makes it easy to stage deployments through environments. Also means in some machines I can uninstall screen for example while on a certain client machines I can install it. [1] http://www.devco.net/archives/2009/08/31/complex_data_and_puppet.php
-- 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.