diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-07-15 06:19:13 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-07-15 06:19:13 +0000 |
commit | 2185b835602ffb276b8142db68d472611fdf127a (patch) | |
tree | 50c351054ae33f3750e2a3a0a218432ddc6dcf02 /docker/services/pacemaker/haproxy.yaml | |
parent | 07a5fe1ba66cbad5afafbbd30d2d78129cb90bae (diff) | |
parent | e76d84f784d27a7a2d9e5f3a8b019f8254cb4d6c (diff) |
Merge "Use a single configuration file for specifying docker containers."
Diffstat (limited to 'docker/services/pacemaker/haproxy.yaml')
-rw-r--r-- | docker/services/pacemaker/haproxy.yaml | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/docker/services/pacemaker/haproxy.yaml b/docker/services/pacemaker/haproxy.yaml index 9b0bdfe1..86c460fa 100644 --- a/docker/services/pacemaker/haproxy.yaml +++ b/docker/services/pacemaker/haproxy.yaml @@ -4,17 +4,11 @@ description: > OpenStack containerized HAproxy service for pacemaker parameters: - DockerNamespace: - description: namespace - default: 'tripleoupstream' - type: string DockerHAProxyImage: description: image - default: 'centos-binary-haproxy:latest' type: string DockerHAProxyConfigImage: description: The container image to use for the haproxy config_volume - default: 'centos-binary-haproxy:latest' type: string ServiceData: default: {} @@ -70,10 +64,7 @@ outputs: - get_attr: [HAProxyBase, role_data, config_settings] - tripleo::haproxy::haproxy_daemon: false haproxy_docker: true - tripleo::profile::pacemaker::haproxy_bundle::haproxy_docker_image: &haproxy_image - list_join: - - '/' - - [ {get_param: DockerNamespace}, {get_param: DockerHAProxyImage} ] + tripleo::profile::pacemaker::haproxy_bundle::haproxy_docker_image: &haproxy_image {get_param: DockerHAProxyImage} step_config: "" service_config_settings: {get_attr: [HAProxyBase, role_data, service_config_settings]} # BEGIN DOCKER SETTINGS @@ -87,10 +78,7 @@ outputs: - "class tripleo::firewall(){}; define tripleo::firewall::rule( $port = undef, $dport = undef, $sport = undef, $proto = undef, $action = undef, $state = undef, $source = undef, $iniface = undef, $chain = undef, $destination = undef, $extras = undef){}" - "['pcmk_bundle', 'pcmk_resource', 'pcmk_property', 'pcmk_constraint', 'pcmk_resource_default'].each |String $val| { noop_resource($val) }" - 'include ::tripleo::profile::pacemaker::haproxy_bundle' - config_image: - list_join: - - '/' - - [ {get_param: DockerNamespace}, {get_param: DockerHAProxyConfigImage} ] + config_image: {get_param: DockerHAProxyConfigImage} volumes: &deployed_cert_mount - list_join: - ':' |