Ensure wget is installed for RGW Keystone integration

The minimal install of CentOS does not include wget causing the
exec resources to fail.  This patch ensures that it is installed
on the operating system.

Change-Id: I55b8a227bbf309f99583261eb879e6a1b6e602de
This commit is contained in:
Mohammed Naser 2016-10-17 12:08:19 -07:00 committed by Andrew Woodward
parent 939307f497
commit e8590dac94
2 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ class ceph::params (
$pkg_radosgw = 'radosgw'
$user_radosgw = 'www-data'
$pkg_fastcgi = 'libapache2-mod-fastcgi'
$pkg_nsstools = 'libnss3-tools'
$pkg_nsstools = ['libnss3-tools', 'wget']
$service_provider = 'debian'
$pkg_policycoreutils = 'policycoreutils'
}
@ -62,7 +62,7 @@ class ceph::params (
$pkg_radosgw = 'ceph-radosgw'
$user_radosgw = 'apache'
$pkg_fastcgi = 'mod_fastcgi'
$pkg_nsstools = 'nss-tools'
$pkg_nsstools = ['nss-tools', 'wget']
$service_provider = 'systemd'
$pkg_policycoreutils = 'policycoreutils-python'
}

View File

@ -132,7 +132,7 @@ define ceph::rgw::keystone (
if $use_pki {
# fetch the keystone signing cert, add to nss db
$pkg_nsstools = $::ceph::params::pkg_nsstools
ensure_resource('package', $pkg_nsstools, {'ensure' => 'present'})
ensure_packages($pkg_nsstools, {'ensure' => 'present'})
file { $nss_db_path:
ensure => directory,