3c6ec654b4
Heat now supports release name aliases, so we can replace the inconsistent mix of date related versions with one consistent version that aligns with the supported version of heat for this t-h-t branch. This should also help new users who sometimes copy/paste old templates and discover intrinsic functions in the t-h-t docs don't work because their template version is too old. Change-Id: Ib415e7290fea27447460baa280291492df197e54
63 lines
2.0 KiB
YAML
63 lines
2.0 KiB
YAML
heat_template_version: ocata
|
|
|
|
description: >
|
|
Software-config for ceilometer configuration under httpd during upgrades
|
|
|
|
parameters:
|
|
servers:
|
|
type: json
|
|
input_values:
|
|
type: json
|
|
description: input values for the software deployments
|
|
resources:
|
|
CeilometerWsgiMitakaNewtonPreUpgradeConfig:
|
|
type: OS::Heat::SoftwareConfig
|
|
properties:
|
|
group: puppet
|
|
config:
|
|
get_file: mitaka_to_newton_ceilometer_wsgi_upgrade.pp
|
|
|
|
CeilometerWsgiMitakaNewtonUpgradeConfig:
|
|
type: OS::Heat::SoftwareConfig
|
|
properties:
|
|
group: script
|
|
config:
|
|
list_join:
|
|
- ''
|
|
- - "#!/bin/bash\n\nset -e\n\n"
|
|
- get_file: pacemaker_common_functions.sh
|
|
- get_file: major_upgrade_pacemaker_migrations.sh
|
|
- "disable_standalone_ceilometer_api\n\n"
|
|
|
|
CeilometerWsgiMitakaNewtonPostUpgradeConfig:
|
|
type: OS::Heat::SoftwareConfig
|
|
properties:
|
|
group: script
|
|
config: |
|
|
#!/bin/bash
|
|
set -e
|
|
/usr/bin/systemctl reload httpd
|
|
|
|
CeilometerWsgiMitakaNewtonPreUpgradeDeployment:
|
|
type: OS::Heat::SoftwareDeploymentGroup
|
|
properties:
|
|
name: CeilometerWsgiMitakaNewtonPreUpgradeDeployment
|
|
servers: {get_param: [servers, Controller]}
|
|
config: {get_resource: CeilometerWsgiMitakaNewtonPreUpgradeConfig}
|
|
|
|
CeilometerWsgiMitakaNewtonUpgradeConfigDeployment:
|
|
type: OS::Heat::SoftwareDeploymentGroup
|
|
depends_on: CeilometerWsgiMitakaNewtonPreUpgradeDeployment
|
|
properties:
|
|
name: CeilometerWsgiMitakaNewtonUpgradeConfigDeployment
|
|
servers: {get_param: [servers, Controller]}
|
|
config: {get_resource: CeilometerWsgiMitakaNewtonUpgradeConfig}
|
|
|
|
CeilometerWsgiMitakaNewtonPostUpgradeDeployment:
|
|
type: OS::Heat::SoftwareDeploymentGroup
|
|
depends_on: CeilometerWsgiMitakaNewtonUpgradeConfigDeployment
|
|
properties:
|
|
name: CeilometerWsgiMitakaNewtonPostUpgradeDeployment
|
|
servers: {get_param: [servers, Controller]}
|
|
config: {get_resource: CeilometerWsgiMitakaNewtonPostUpgradeConfig}
|