diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-03-07 10:06:09 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-03-07 10:06:09 +0000 |
commit | fcd1c14ef51ca55d16f581ec629496d414dd5387 (patch) | |
tree | 67bdf25d057b02395f0985414d3c48b03eb5b700 /puppet | |
parent | c03f5cc4d5984f08b8485c62a353ad81a7f74ac7 (diff) | |
parent | 8febc6e6f4a83f909150cca7c377c6e4fdb096aa (diff) |
Merge "Add docker composable service template"
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/docker.yaml | 43 |
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 + |