diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-08-12 16:50:48 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-08-12 16:50:48 +0000 |
commit | 8c61510e601473cabd60264eff7fc5b6f9f2ebb8 (patch) | |
tree | b248555ca64f75a5de00cfe5a4898b7040410f8b /puppet | |
parent | 2c877c9c4b08983ac2d45e1c2c2a8da60f608ad5 (diff) | |
parent | f7f514cf67274b40f0f079d5349d7e9fda9d1790 (diff) |
Merge "Add parameter for enabling purging configuration files"
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/neutron-base.yaml | 7 | ||||
-rw-r--r-- | puppet/services/nova-base.yaml | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/puppet/services/neutron-base.yaml b/puppet/services/neutron-base.yaml index f6339c83..bc8dd8d1 100644 --- a/puppet/services/neutron-base.yaml +++ b/puppet/services/neutron-base.yaml @@ -42,6 +42,12 @@ parameters: type: string default: '' description: Set to True to enable debugging on all services. + EnableConfigPurge: + type: boolean + default: true + description: > + Remove configuration that is not generated by TripleO. Setting + to false may result in configuration remnants after updates/upgrades. outputs: role_data: @@ -61,6 +67,7 @@ outputs: params: PLUGINS: {get_param: NeutronServicePlugins} neutron::debug: {get_param: Debug} + neutron::purge_config: {get_param: EnableConfigPurge} neutron::allow_overlapping_ips: true neutron::rabbit_heartbeat_timeout_threshold: 60 neutron::host: '"%{::fqdn}"' #NOTE: extra quoting is needed diff --git a/puppet/services/nova-base.yaml b/puppet/services/nova-base.yaml index 9dd0c950..ef7eaaf3 100644 --- a/puppet/services/nova-base.yaml +++ b/puppet/services/nova-base.yaml @@ -39,6 +39,12 @@ parameters: type: string default: '' description: Set to True to enable debugging on all services. + EnableConfigPurge: + type: boolean + default: true + description: > + Remove configuration that is not generated by TripleO. Setting + to false may result in configuration remnants after updates/upgrades. outputs: role_data: @@ -83,6 +89,7 @@ outputs: - '%' - "%{hiera('mysql_bind_host')}" nova::debug: {get_param: Debug} + nova::purge_config: {get_param: EnableConfigPurge} nova::network::neutron::neutron_project_name: 'service' nova::network::neutron::neutron_username: 'neutron' nova::network::neutron::dhcp_domain: '' |