heat-templates/hot/software-config/boot-config/templates/install_config_agent_fedora...

49 lines
1.6 KiB
YAML

heat_template_version: 2014-10-16
resources:
install_python_build_env:
type: "OS::Heat::SoftwareConfig"
properties:
group: ungrouped
config: {get_file: fragments/install_python_build_env_yum.sh}
install_config_agent_pip:
type: "OS::Heat::SoftwareConfig"
properties:
group: ungrouped
config: {get_file: fragments/install_config_agent_pip.sh}
configure_config_agent:
type: "OS::Heat::SoftwareConfig"
properties:
group: ungrouped
config:
str_replace:
params:
$heat_config_script: {get_file: ../../../../../heat-agents/heat-config/os-refresh-config/configure.d/55-heat-config}
$hook_script: {get_file: ../../../../../heat-agents/heat-config-script/install.d/hook-script.py}
$heat_config_notify: {get_file: ../../../../../heat-agents/heat-config/bin/heat-config-notify}
$occ_conf: {get_file: fragments/os-collect-config.conf}
$orc_oac: {get_file: fragments/20-os-apply-config}
template: {get_file: fragments/configure_config_agent.sh}
start_config_agent:
type: "OS::Heat::SoftwareConfig"
properties:
group: ungrouped
config: {get_file: fragments/start_config_agent.sh}
install_config_agent:
type: "OS::Heat::MultipartMime"
properties:
parts:
- config: {get_resource: install_python_build_env}
- config: {get_resource: install_config_agent_pip}
- config: {get_resource: configure_config_agent}
- config: {get_resource: start_config_agent}
outputs:
config:
value: {get_resource: install_config_agent}