Puppet Class: aixldap::install
- Defined in:
- manifests/install.pp
Summary
Install the required packages for AIX LDAP Authentication.Overview
Avoid modifying private classes.
aixldap::install
Install the required packages for AIX LDAP Authentication.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'manifests/install.pp', line 10
class aixldap::install {
# Install GSKit8, KRB5 and LDAP
$packages = [ 'GSKit8.gskcrypt32.ppc.rte',
'GSKit8.gskcrypt64.ppc.rte',
'GSKit8.gskssl32.ppc.rte',
'GSKit8.gskssl64.ppc.rte',
'gsksa.rte',
'gskta.rte',
'krb5.msg.en_US.client.rte',
'krb5.lic',
'krb5.client.samples',
'krb5.client.rte',
'idsldap.clt32bit62.rte',
'idsldap.clt64bit62.rte',
'idsldap.clt_max_crypto32bit62.rte',
'idsldap.clt_max_crypto64bit62.rte',
'idsldap.cltbase62.adt',
'idsldap.cltbase62.rte',
'idsldap.cltjava62.rte',
]
# Workaround Package Install Issue
$pkg_list = join($packages, ' ')
exec {'install-aixldap-packages-all-at-once':
command => "installp -acNgXY -d ${aixldap::pkg_src_path} ${pkg_list}",
unless => "lslpp -lc ${pkg_list} > /dev/null",
}
# package { $packages:
# ensure => 'present',
# source => $aixldap::pkg_src_path,
# }
}
|