aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/time
diff options
context:
space:
mode:
authorCarlos Camacho <ccamacho@redhat.com>2016-06-20 08:37:55 +0200
committerEmilien Macchi <emilien@redhat.com>2016-06-30 22:53:51 +0000
commit68372785cdea95f702f7b983d4697924d51e3fd6 (patch)
tree7849087a82771f8480e9593ef5b8ab1a23567afb /puppet/services/time
parentddda39b3c7ef90d0175f8424bee51abe94a9b6fc (diff)
Composable Timezone service - Controller
Add timezone as a composable service Change-Id: I99f0b0727a10ee74ea1de0499c8bc3ba37ab3345 Partially-implements: blueprint composable-services-within-roles
Diffstat (limited to 'puppet/services/time')
-rw-r--r--puppet/services/time/timezone.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/puppet/services/time/timezone.yaml b/puppet/services/time/timezone.yaml
new file mode 100644
index 00000000..13fda986
--- /dev/null
+++ b/puppet/services/time/timezone.yaml
@@ -0,0 +1,24 @@
+heat_template_version: 2016-04-08
+
+description: >
+ Composable Timezone service
+
+parameters:
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ type: json
+ TimeZone:
+ default: 'UTC'
+ description: The timezone to be set on the overcloud.
+ type: string
+
+outputs:
+ role_data:
+ description: Timezone role using composable services.
+ value:
+ config_settings:
+ timezone::timezone: {get_param: TimeZone}
+ step_config: |
+ include ::timezone