Implement TripleoValidations composable service
Implement a service that will deploy TripleO Validations package and user by using Puppet like we did with instack-undercloud. This service will be included on the undercloud but disabled by default. We'll keep the same interface in undercloud.conf to enable it or not so no change for the end user. Change-Id: Ida09f92010e31d952edd82b42a7fc20451537d42
This commit is contained in:
parent
7028d4fbe8
commit
0e0147732c
4
environments/tripleo-validations.yaml
Normal file
4
environments/tripleo-validations.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
# A Heat environment file that enables TripleO Validations.
|
||||
|
||||
resource_registry:
|
||||
OS::TripleO::Services::TripleoValidations: ../puppet/services/tripleo-validations.yaml
|
@ -231,6 +231,7 @@ resource_registry:
|
||||
OS::TripleO::Services::Ipsec: OS::Heat::None
|
||||
OS::TripleO::Services::Rhsm: OS::Heat::None
|
||||
OS::TripleO::Services::MasqueradeNetworks: OS::Heat::None
|
||||
OS::TripleO::Services::TripleoValidations: OS::Heat::None
|
||||
OS::TripleO::Services::UndercloudUpgrade: OS::Heat::None
|
||||
OS::TripleO::Services::Collectd: OS::Heat::None
|
||||
OS::TripleO::LoggingConfiguration: puppet/services/logging/fluentd-config.yaml
|
||||
|
42
puppet/services/tripleo-validations.yaml
Normal file
42
puppet/services/tripleo-validations.yaml
Normal file
@ -0,0 +1,42 @@
|
||||
heat_template_version: rocky
|
||||
|
||||
description: >
|
||||
Configure TripleO Validations with Puppet.
|
||||
|
||||
parameters:
|
||||
ServiceData:
|
||||
default: {}
|
||||
description: Dictionary packing service data
|
||||
type: json
|
||||
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
|
||||
DefaultPasswords:
|
||||
default: {}
|
||||
type: json
|
||||
RoleName:
|
||||
default: ''
|
||||
description: Role name on which the service is applied
|
||||
type: string
|
||||
RoleParameters:
|
||||
default: {}
|
||||
description: Parameters specific to the role
|
||||
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: Role data for the TripleO Validations service.
|
||||
value:
|
||||
service_name: tripleo_validations
|
||||
config_settings: {}
|
||||
step_config: |
|
||||
include tripleo::profile::base::validations
|
||||
upgrade_tasks: []
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add composable service for TripleO Validations, that will be deployed
|
||||
on the Undercloud when enabled.
|
@ -84,4 +84,5 @@
|
||||
- OS::TripleO::Services::TripleoUI
|
||||
- OS::TripleO::Services::Tuned
|
||||
- OS::TripleO::Services::UndercloudUpgrade
|
||||
- OS::TripleO::Services::TripleoValidations
|
||||
- OS::TripleO::Services::Zaqar
|
||||
|
@ -87,5 +87,6 @@
|
||||
- OS::TripleO::Services::TripleoUI
|
||||
- OS::TripleO::Services::Tuned
|
||||
- OS::TripleO::Services::UndercloudUpgrade
|
||||
- OS::TripleO::Services::TripleoValidations
|
||||
- OS::TripleO::Services::Zaqar
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user