Merge "Prevent keystone eventlet from starting"
This commit is contained in:
commit
0812783ddd
@ -515,6 +515,11 @@
|
|||||||
# (optional) Specify the keystone system group to be used with keystone-manage.
|
# (optional) Specify the keystone system group to be used with keystone-manage.
|
||||||
# Defaults to 'keystone'
|
# Defaults to 'keystone'
|
||||||
#
|
#
|
||||||
|
# [*manage_policyrcd*]
|
||||||
|
# (optional) Whether to manage the policy-rc.d on debian based systems to
|
||||||
|
# prevent keystone eventlet from auto-starting on package install.
|
||||||
|
# Defaults to false
|
||||||
|
#
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
#
|
#
|
||||||
# [*service_provider*]
|
# [*service_provider*]
|
||||||
@ -648,6 +653,7 @@ class keystone(
|
|||||||
$domain_config_directory = '/etc/keystone/domains',
|
$domain_config_directory = '/etc/keystone/domains',
|
||||||
$keystone_user = $::keystone::params::keystone_user,
|
$keystone_user = $::keystone::params::keystone_user,
|
||||||
$keystone_group = $::keystone::params::keystone_group,
|
$keystone_group = $::keystone::params::keystone_group,
|
||||||
|
$manage_policyrcd = false,
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
$admin_workers = max($::processorcount, 2),
|
$admin_workers = max($::processorcount, 2),
|
||||||
$public_workers = max($::processorcount, 2),
|
$public_workers = max($::processorcount, 2),
|
||||||
@ -869,6 +875,12 @@ class keystone(
|
|||||||
'eventlet_server/public_workers': value => $public_workers;
|
'eventlet_server/public_workers': value => $public_workers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $manage_policyrcd {
|
||||||
|
# openstacklib::policyrcd only affects debian based systems.
|
||||||
|
class { '::openstacklib::policyrcd': services => ['keystone'] }
|
||||||
|
Class['::openstacklib::policyrcd'] -> Package['keystone']
|
||||||
|
}
|
||||||
|
|
||||||
if $manage_service {
|
if $manage_service {
|
||||||
if $enabled {
|
if $enabled {
|
||||||
$service_ensure = 'running'
|
$service_ensure = 'running'
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Provides bool to determine if policy-rc.d should be managed
|
||||||
|
for keystone eventlet service.
|
||||||
|
issues:
|
||||||
|
- Keystone eventlet service is auto-started on debian based
|
||||||
|
systems on package install.
|
Loading…
x
Reference in New Issue
Block a user