Puppet Class: cognos::install::prereqs
- Defined in:
- manifests/install/prereqs.pp
Overview
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'manifests/install/prereqs.pp', line 2
class cognos::install::prereqs{
# centos 7
$prereq_packages = [
'unzip',
'glibc.i686',
'glibc.x86_64',
'nspr.x86_64',
'nss.x86_64',
'motif.i686',
'motif.x86_64',
'libstdc++',
'nss-tools',
]
$prereq_packages.each | $pkg_name | {
if($pkg_name) {
ensure_resource(
'package',
$pkg_name,
{ ensure => 'present' },
)
}
}
}
|