diff --git a/heat-config/os-apply-config/etc/os-collect-config.conf b/heat-config/os-apply-config/etc/os-collect-config.conf new file mode 100644 index 0000000..d668df4 --- /dev/null +++ b/heat-config/os-apply-config/etc/os-collect-config.conf @@ -0,0 +1,57 @@ +[DEFAULT] +{{^os-collect-config.command}} +command = os-refresh-config +{{/os-collect-config.command}} +{{#os-collect-config}} +{{#command}} +command = {{command}} +{{/command}} +{{#polling_interval}} +polling_interval = {{polling_interval}} +{{/polling_interval}} +{{#cachedir}} +cachedir = {{cachedir}} +{{/cachedir}} +{{#collectors}} +collectors = {{.}} +{{/collectors}} + +{{#cfn}} +[cfn] +{{#metadata_url}} +metadata_url = {{metadata_url}} +{{/metadata_url}} +stack_name = {{stack_name}} +secret_access_key = {{secret_access_key}} +access_key_id = {{access_key_id}} +path = {{path}} +{{#ca_certificate}} +ca_certificate = {{.}} +{{/ca_certificate}} +{{/cfn}} + +{{#heat}} +[heat] +auth_url = {{auth_url}} +user_id = {{user_id}} +password = {{password}} +project_id = {{project_id}} +stack_id = {{stack_id}} +resource_name = {{resource_name}} +{{/heat}} + +{{#zaqar}} +[zaqar] +auth_url = {{auth_url}} +user_id = {{user_id}} +password = {{password}} +project_id = {{project_id}} +queue_id = {{queue_id}} +{{/zaqar}} + +{{#request}} +[request] +metadata_url = {{metadata_url}} +{{/request}} + +{{/os-collect-config}} diff --git a/heat-config/os-refresh-config/configure.d/20-os-apply-config b/heat-config/os-refresh-config/configure.d/20-os-apply-config new file mode 100755 index 0000000..8dd2012 --- /dev/null +++ b/heat-config/os-refresh-config/configure.d/20-os-apply-config @@ -0,0 +1,4 @@ +#!/bin/bash +set -ue + +exec os-apply-config