Remove the ubuntu workaround for keystone.conf

This should be in puppet-keystone itself.

Change-Id: I4cc63bb49f640a355bf5f61932b99dbf8c9e4c2c
Depends-On: https://review.opendev.org/#/c/655573/
This commit is contained in:
Alex Schultz 2019-04-24 15:56:32 -06:00
parent a2cf69ecd9
commit 89666c9358

View File

@ -102,22 +102,6 @@ class openstack_integration::keystone (
ssl_cert => $::openstack_integration::params::cert_path,
workers => 2,
}
# Workaround to empty Keystone vhost that is provided & activated by default with running
# Canonical packaging (called 'keystone'). This will make sure upgrading the package is
# possible, see https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/1737697
if ($::operatingsystem == 'Ubuntu') and (versioncmp($::operatingsystemmajrelease, '16') >= 0) {
ensure_resource('file', '/etc/apache2/sites-available/keystone.conf', {
'ensure' => 'present',
'content' => '',
})
ensure_resource('file', '/etc/apache2/sites-enabled/keystone.conf', {
'ensure' => 'present',
'content' => '',
})
Package['keystone'] -> File['/etc/apache2/sites-available/keystone.conf']
-> File['/etc/apache2/sites-enabled/keystone.conf'] ~> Anchor['keystone::install::end']
}
class { '::keystone::roles::admin':
email => 'test@example.tld',
password => 'a_big_secret',