On 2012-08-31 09:46, ollies...@googlemail.com wrote:
Hello,
For the life of me I cannot get this to work. It's seemingly doable with
a single class but outside....
params.pp:
class vmware::params {
case $::lsbmajdistrelease {
'4': {
$packagelist = "[ 'vmware-tools-esx-kmods-smp',
'vmware-tools-esx-kmods-up' ]"
}
default: {
$packagelist = 'vmware-tools-esx-kmods'
}
}
}
install.pp
package { "$vmware::params::packagelist":

Don't quote here. That converts the contents into a string.


D.

--
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