How can I enforce Puppet to run only one yum install command if my manifest 
is:

$install_packages_el6 = ['sshpass', 'mysql', 'redhat-lsb', 
'MySQL-python','python-paramiko','git','net-snmp-utils','python-configobj','pciutils','sg3_utils','sg3_utils-libs','net-snmp','python',
 
'wget', 'python-decorator', 'python-prettytable', 'pexpect', 
'python-argparse', 'python-ipython', 'screen', 'python-devel', 
'python-pip', 'bash', 'python-matplotlib', 'xfsprogs', 'xfsdump', 'tzdata', 
'python-requests', 'python-ldap', 'iotop', 'iftop', 'python-backports', 
'python-enum34', 'python-psutil', 'vconfig', 'expect', 'tcsh', 
'python-setuptools']

package { $install_packages_el6:
      ensure => latest,
}

Puppet runs the yum install command per each package

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/92d05c7a-7cfa-4b31-b14b-972370d21617%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to