aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/rabbitmq-internal-tls-certmonger.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-28 11:01:52 +0000
committerGerrit Code Review <review@openstack.org>2017-03-28 11:01:52 +0000
commita32d101af96a9cee5f07977894de2d496a5b5a70 (patch)
tree4349f9caa9cf955467502fe4ef58f1a5125dfc5c /puppet/services/rabbitmq-internal-tls-certmonger.yaml
parent85cf5d0e98711e13a148162e071a756ddfb737e1 (diff)
parent69c213e3e3e9ba6635cbda055ec1542ac0b53d30 (diff)
Merge "Rabbitmq: Use conditional instead of nested stack for TLS-specific bits"
Diffstat (limited to 'puppet/services/rabbitmq-internal-tls-certmonger.yaml')
-rw-r--r--puppet/services/rabbitmq-internal-tls-certmonger.yaml47
1 files changed, 0 insertions, 47 deletions
diff --git a/puppet/services/rabbitmq-internal-tls-certmonger.yaml b/puppet/services/rabbitmq-internal-tls-certmonger.yaml
deleted file mode 100644
index 39d6b903..00000000
--- a/puppet/services/rabbitmq-internal-tls-certmonger.yaml
+++ /dev/null
@@ -1,47 +0,0 @@
-heat_template_version: ocata
-
-description: >
- RabbitMQ configurations for using TLS via certmonger.
-
-parameters:
- ServiceNetMap:
- default: {}
- description: Mapping of service_name -> network name. Typically set
- via parameter_defaults in the resource registry. This
- mapping overrides those in ServiceNetMapDefaults.
- type: json
- # The following parameters are not needed by the template but are
- # required to pass the pep8 tests
- DefaultPasswords:
- default: {}
- type: json
- EndpointMap:
- default: {}
- description: Mapping of service endpoint -> protocol. Typically set
- via parameter_defaults in the resource registry.
- type: json
-
-outputs:
- role_data:
- description: RabbitMQ configurations for using TLS via certmonger.
- value:
- service_name: rabbitmq_internal_tls_certmonger
- config_settings:
- generate_service_certificates: true
- tripleo::profile::base::rabbitmq::certificate_specs:
- service_certificate: '/etc/pki/tls/certs/rabbitmq.crt'
- service_key: '/etc/pki/tls/private/rabbitmq.key'
- hostname:
- str_replace:
- template: "%{hiera('fqdn_NETWORK')}"
- params:
- NETWORK: {get_param: [ServiceNetMap, RabbitmqNetwork]}
- principal:
- str_replace:
- template: "rabbitmq/%{hiera('fqdn_NETWORK')}"
- params:
- NETWORK: {get_param: [ServiceNetMap, RabbitmqNetwork]}
- metadata_settings:
- - service: rabbitmq
- network: {get_param: [ServiceNetMap, RabbitmqNetwork]}
- type: node