summaryrefslogtreecommitdiffstats
path: root/docker/firstboot/install_docker_agents.yaml
blob: 8adc8939d2ce0df84670a6263293e4efe498e007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
heat_template_version: 2014-10-16

parameters:
  DockerAgentImage:
    type: string
    default: dprince/heat-docker-agents-centos

resources:

  userdata:
    type: OS::Heat::MultipartMime
    properties:
      parts:
      - config: {get_resource: install_docker_agents}

  install_docker_agents:
    type: OS::Heat::SoftwareConfig
    properties:
      group: script
      config:
        str_replace:
          params:
            $agent_image: {get_param: DockerAgentImage}
          template: {get_file: ./start_docker_agents.sh}

outputs:
  OS::stack_id:
    value: {get_resource: userdata}