aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/disabled/glance-registry-disabled.yaml
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-05-22 11:32:05 +0300
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-05-22 11:32:05 +0300
commit780b751601d8704aa81bd9c53359fe17898fe270 (patch)
tree5900fa4af729892fa7dc8b96cfdee4643588d950 /puppet/services/disabled/glance-registry-disabled.yaml
parent0900c884281dc73dd3eccbb9ae9ea58efe5487ba (diff)
Use disabled suffix for disabled service names
This changes both the service names and the file names for disabled services, adding the 'disabled' suffix to them. This comes with the reasoning that, if a service requires a disabled service, and checks for the name in the "service_names" hiera entry, it will appear as if the service was enabled, when it's actually not. So changing the name and using this convention prevents that issue. Change-Id: I308d6680a4d9b526f22ba0d7d20e5db638aadb9a
Diffstat (limited to 'puppet/services/disabled/glance-registry-disabled.yaml')
-rw-r--r--puppet/services/disabled/glance-registry-disabled.yaml38
1 files changed, 38 insertions, 0 deletions
diff --git a/puppet/services/disabled/glance-registry-disabled.yaml b/puppet/services/disabled/glance-registry-disabled.yaml
new file mode 100644
index 00000000..85a5c5ef
--- /dev/null
+++ b/puppet/services/disabled/glance-registry-disabled.yaml
@@ -0,0 +1,38 @@
+heat_template_version: pike
+
+description: >
+ OpenStack Glance Registry service, disabled since ocata
+
+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
+ 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 disabled Glance Registry role.
+ value:
+ service_name: glance_registry_disabled
+ upgrade_tasks:
+ - name: Stop and disable glance_registry service on upgrade
+ tags: step1
+ service: name=openstack-glance-registry state=stopped enabled=no