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": ensure => present, } Which results in this:- err: /Stage[main]/Vmware::Install/Package[['vmware-tools-esx-kmods-smp', 'vmware-tools-esx-kmods-up']]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install ['vmware-tools-esx-kmods-smp', 'vmware-tools-esx-kmods-up']' returned 1: Traceback (most recent call last): I have tried escaping this in all sorts of crazy ways but not having a good deal of luck. Anyone have the right way to do this ? Cheers Paul
-- 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/-/Y7KXBpD7spsJ. 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.