aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/docker.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-07 10:06:09 +0000
committerGerrit Code Review <review@openstack.org>2017-03-07 10:06:09 +0000
commitfcd1c14ef51ca55d16f581ec629496d414dd5387 (patch)
tree67bdf25d057b02395f0985414d3c48b03eb5b700 /puppet/services/docker.yaml
parentc03f5cc4d5984f08b8485c62a353ad81a7f74ac7 (diff)
parent8febc6e6f4a83f909150cca7c377c6e4fdb096aa (diff)
Merge "Add docker composable service template"
Diffstat (limited to 'puppet/services/docker.yaml')
-rw-r--r--puppet/services/docker.yaml43
1 files changed, 43 insertions, 0 deletions
diff --git a/puppet/services/docker.yaml b/puppet/services/docker.yaml
new file mode 100644
index 00000000..e7da2383
--- /dev/null
+++ b/puppet/services/docker.yaml
@@ -0,0 +1,43 @@
+heat_template_version: ocata
+
+description: >
+ Configures docker on the host
+
+parameters:
+ DockerNamespace:
+ description: namespace
+ default: tripleoupstream
+ type: string
+ DockerNamespaceIsRegistry:
+ type: boolean
+ default: false
+ EndpointMap:
+ default: {}
+ description: Mapping of service endpoint -> protocol. Typically set
+ via parameter_defaults in the resource registry.
+ 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
+
+outputs:
+ role_data:
+ description: Role data for the docker service
+ value:
+ service_name: docker
+ config_settings:
+ tripleo::profile::base::docker::docker_namespace: {get_param: DockerNamespace}
+ tripleo::profile::base::docker::insecure_registry: {get_param: DockerNamespaceIsRegistry}
+ step_config: |
+ include ::tripleo::profile::base::docker
+ upgrade_tasks:
+ - name: Install docker packages on upgrade if missing
+ tags: step3
+ yum: name=docker state=latest
+