summaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorSven Anderson <sven@redhat.com>2016-06-10 17:43:29 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-06-14 12:00:56 +0300
commit708bf15975d8bfb4b7bc9426a86369d82c0d4dd9 (patch)
tree228fa29aeca9f8f71ec80a5ea20a9db797a56607 /puppet/services
parent16d04892919d097dc5a8470727b9b6f816682ba3 (diff)
Enable nova-compute as a composable service
Implement NovaCompute service using nova-base for common parameters. Depends-On: I57f729daf675674ce37b49e17652c575715fbe23 Implements: blueprint composable-services-within-roles Change-Id: I4494a94a3813d255b9f2d5a18874efd6a63737df
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/nova-compute.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/puppet/services/nova-compute.yaml b/puppet/services/nova-compute.yaml
new file mode 100644
index 00000000..0844aa85
--- /dev/null
+++ b/puppet/services/nova-compute.yaml
@@ -0,0 +1,25 @@
+heat_template_version: 2016-04-08
+
+description: >
+ OpenStack Nova Compute service configured with Puppet
+
+parameters:
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+
+resources:
+ NovaBase:
+ type: ./nova-base.yaml
+
+outputs:
+ role_data:
+ description: Role data for the Nova Conductor service.
+ value:
+ config_settings:
+ map_merge:
+ - get_attr: [NovaBase, role_data, config_settings]
+ step_config: |
+ include tripleo::profile::base::nova::compute