Rename docker_puppet_apply to container_puppet_apply

Change-Id: I1e23b78f54f3609b249565bf3c448453b684d214
This commit is contained in:
Emilien Macchi 2019-03-08 10:11:35 -05:00
parent c40181cd2a
commit 24fb8776dd
14 changed files with 48 additions and 48 deletions

View File

@ -208,9 +208,9 @@ outputs:
net: host net: host
ipc: host ipc: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '5' - '5'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::constraint::location' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::constraint::location'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::cinder::backup_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::cinder::backup_bundle'
@ -221,7 +221,7 @@ outputs:
image: {get_param: DockerCinderBackupImage} image: {get_param: DockerCinderBackupImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
environment: environment:
# NOTE: this should force this container to re-run on each # NOTE: this should force this container to re-run on each

View File

@ -192,9 +192,9 @@ outputs:
net: host net: host
ipc: host ipc: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '5' - '5'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::constraint::location' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::constraint::location'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::cinder::volume_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::cinder::volume_bundle'
@ -205,7 +205,7 @@ outputs:
image: {get_param: DockerCinderVolumeImage} image: {get_param: DockerCinderVolumeImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
environment: environment:
# NOTE: this should force this container to re-run on each # NOTE: this should force this container to re-run on each

View File

@ -291,9 +291,9 @@ outputs:
net: host net: host
ipc: host ipc: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '2' - '2'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,galera_ready,mysql_database,mysql_grant,mysql_user' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,galera_ready,mysql_database,mysql_grant,mysql_user'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::database::mysql_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::database::mysql_bundle'
@ -304,7 +304,7 @@ outputs:
image: {get_param: DockerMysqlImage} image: {get_param: DockerMysqlImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
- /var/lib/mysql:/var/lib/mysql:rw,z - /var/lib/mysql:/var/lib/mysql:rw,z
- /var/lib/config-data/puppet-generated/mysql/root:/root:rw - /var/lib/config-data/puppet-generated/mysql/root:/root:rw

View File

@ -240,9 +240,9 @@ outputs:
ipc: host ipc: host
user: root user: root
config_volume: 'redis_init_bundle' config_volume: 'redis_init_bundle'
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '2' - '2'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::database::redis_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::database::redis_bundle'
@ -253,7 +253,7 @@ outputs:
image: *redis_config_image image: *redis_config_image
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
environment: environment:
# NOTE: this should force this container to re-run on each # NOTE: this should force this container to re-run on each

View File

@ -259,9 +259,9 @@ outputs:
ipc: host ipc: host
user: root user: root
privileged: true privileged: true
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '2' - '2'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ip,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ip,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation'
- 'include ::tripleo::profile::base::pacemaker; include ::tripleo::profile::pacemaker::haproxy_bundle' - 'include ::tripleo::profile::base::pacemaker; include ::tripleo::profile::pacemaker::haproxy_bundle'
@ -272,7 +272,7 @@ outputs:
image: {get_param: DockerHAProxyImage} image: {get_param: DockerHAProxyImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- *deployed_cert_mount - *deployed_cert_mount
- -
- /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro

View File

@ -173,9 +173,9 @@ outputs:
net: host net: host
ipc: host ipc: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '5' - '5'
- 'pacemaker_constraint,file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::constraint::location' - 'pacemaker_constraint,file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::constraint::location'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::manila::share_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::manila::share_bundle'
@ -186,7 +186,7 @@ outputs:
image: {get_param: DockerManilaShareImage} image: {get_param: DockerManilaShareImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
environment: environment:
# NOTE: this should force this container to re-run on each # NOTE: this should force this container to re-run on each

View File

@ -275,17 +275,17 @@ outputs:
net: host net: host
pid: host pid: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- -
- '/docker_puppet_apply.sh' - '/container_puppet_apply.sh'
- '4' - '4'
- 'file' - 'file'
- 'include ::tripleo::profile::base::neutron::dhcp_agent_wrappers' - 'include ::tripleo::profile::base::neutron::dhcp_agent_wrappers'
image: {get_param: DockerNeutronDHCPImage} image: {get_param: DockerNeutronDHCPImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- -
- /run/openvswitch:/run/openvswitch:shared,z - /run/openvswitch:/run/openvswitch:shared,z
- /var/lib/neutron:/var/lib/neutron:shared,z - /var/lib/neutron:/var/lib/neutron:shared,z

View File

@ -244,17 +244,17 @@ outputs:
net: host net: host
pid: host pid: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- -
- '/docker_puppet_apply.sh' - '/container_puppet_apply.sh'
- '4' - '4'
- 'file' - 'file'
- 'include ::tripleo::profile::base::neutron::l3_agent_wrappers' - 'include ::tripleo::profile::base::neutron::l3_agent_wrappers'
image: {get_param: DockerNeutronL3AgentImage} image: {get_param: DockerNeutronL3AgentImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- -
- /run/openvswitch:/run/openvswitch:shared,z - /run/openvswitch:/run/openvswitch:shared,z
- /var/lib/neutron:/var/lib/neutron:shared,z - /var/lib/neutron:/var/lib/neutron:shared,z

View File

@ -214,9 +214,9 @@ outputs:
net: host net: host
ipc: host ipc: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '2' - '2'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,rabbitmq_policy,rabbitmq_user,rabbitmq_ready' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,rabbitmq_policy,rabbitmq_user,rabbitmq_ready'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::rabbitmq_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::rabbitmq_bundle'
@ -227,7 +227,7 @@ outputs:
image: {get_param: DockerRabbitmqImage} image: {get_param: DockerRabbitmqImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
- /bin/true:/bin/epmd - /bin/true:/bin/epmd
environment: environment:

View File

@ -214,9 +214,9 @@ outputs:
net: host net: host
ipc: host ipc: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '2' - '2'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,rabbitmq_policy,rabbitmq_user,rabbitmq_ready' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,rabbitmq_policy,rabbitmq_user,rabbitmq_ready'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::rabbitmq_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::rabbitmq_bundle'
@ -227,7 +227,7 @@ outputs:
image: {get_param: DockerRabbitmqImage} image: {get_param: DockerRabbitmqImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
- /bin/true:/bin/epmd - /bin/true:/bin/epmd
environment: environment:

View File

@ -214,9 +214,9 @@ outputs:
net: host net: host
ipc: host ipc: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '2' - '2'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,rabbitmq_policy,rabbitmq_user,rabbitmq_ready' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation,rabbitmq_policy,rabbitmq_user,rabbitmq_ready'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::rabbitmq_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::rabbitmq_bundle'
@ -227,7 +227,7 @@ outputs:
image: {get_param: DockerRabbitmqImage} image: {get_param: DockerRabbitmqImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
- /bin/true:/bin/epmd - /bin/true:/bin/epmd
environment: environment:

View File

@ -49,9 +49,9 @@ conditions:
outputs: outputs:
container_config_scripts: container_config_scripts:
description: Shared docker config scripts description: Shared container config scripts
value: value:
docker_puppet_apply.sh: container_puppet_apply.sh:
mode: "0700" mode: "0700"
content: | content: |
#!/bin/bash #!/bin/bash
@ -119,12 +119,12 @@ outputs:
# required for bootstrap_host_exec # required for bootstrap_host_exec
- /etc/puppet:/etc/puppet:ro - /etc/puppet:/etc/puppet:ro
docker_puppet_apply_volumes: container_puppet_apply_volumes:
description: Common volumes needed to run the docker_puppet_apply.sh from container_config_scripts description: Common volumes needed to run the container_puppet_apply.sh from container_config_scripts
value: value:
list_concat: list_concat:
- *volumes_base - *volumes_base
- - /var/lib/docker-config-scripts/docker_puppet_apply.sh:/docker_puppet_apply.sh:ro - - /var/lib/docker-config-scripts/container_puppet_apply.sh:/container_puppet_apply.sh:ro
# docker_puppet_apply.sh will copy this to /etc/puppet in the container # container_puppet_apply.sh will copy this to /etc/puppet in the container
- /etc/puppet:/tmp/puppet-etc:ro - /etc/puppet:/tmp/puppet-etc:ro
- /usr/share/openstack-puppet/modules:/usr/share/openstack-puppet/modules:ro - /usr/share/openstack-puppet/modules:/usr/share/openstack-puppet/modules:ro

View File

@ -140,17 +140,17 @@ outputs:
net: host net: host
pid: host pid: host
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- -
- '/docker_puppet_apply.sh' - '/container_puppet_apply.sh'
- '4' - '4'
- 'file' - 'file'
- 'include ::tripleo::profile::base::neutron::ovn_metadata_agent_wrappers' - 'include ::tripleo::profile::base::neutron::ovn_metadata_agent_wrappers'
image: {get_param: DockerOvnMetadataImage} image: {get_param: DockerOvnMetadataImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- -
- /run/openvswitch:/run/openvswitch:shared,z - /run/openvswitch:/run/openvswitch:shared,z
- /var/lib/neutron:/var/lib/neutron:shared,z - /var/lib/neutron:/var/lib/neutron:shared,z
@ -161,16 +161,16 @@ outputs:
net: host net: host
privileged: true privileged: true
user: root user: root
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '4' - '4'
- 'exec' - 'exec'
- 'include ::tripleo::profile::base::neutron::ovn_metadata' - 'include ::tripleo::profile::base::neutron::ovn_metadata'
image: {get_param: DockerOvnMetadataImage} image: {get_param: DockerOvnMetadataImage}
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /lib/modules:/lib/modules:ro - - /lib/modules:/lib/modules:ro
- /run/openvswitch:/run/openvswitch:shared,z - /run/openvswitch:/run/openvswitch:shared,z
ovn_metadata_agent: ovn_metadata_agent:

View File

@ -157,9 +157,9 @@ outputs:
ipc: host ipc: host
user: root user: root
config_volume: 'ovn_dbs_init_bundle' config_volume: 'ovn_dbs_init_bundle'
command: # '/docker_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"' command: # '/container_puppet_apply.sh "STEP" "TAGS" "CONFIG" "DEBUG"'
list_concat: list_concat:
- - '/docker_puppet_apply.sh' - - '/container_puppet_apply.sh'
- '3' - '3'
- 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ip,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation' - 'file,file_line,concat,augeas,pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ip,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation'
- 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::ovn_dbs_bundle' - 'include ::tripleo::profile::base::pacemaker;include ::tripleo::profile::pacemaker::ovn_dbs_bundle'
@ -170,7 +170,7 @@ outputs:
image: *ovn_dbs_config_image image: *ovn_dbs_config_image
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, docker_puppet_apply_volumes]} - {get_attr: [ContainersCommon, container_puppet_apply_volumes]}
- - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro - - /etc/corosync/corosync.conf:/etc/corosync/corosync.conf:ro
environment: environment:
# NOTE: this should force this container to re-run on each # NOTE: this should force this container to re-run on each