Browse Source

Add boot-config files for os-apply/collect-config

Change-Id: Ifbee6fa2d6b5e730857a9e2f9ee04c3311288072
changes/65/420065/1
Zane Bitter 5 years ago
parent
commit
4390d3e5f4
  1. 57
      heat-config/os-apply-config/etc/os-collect-config.conf
  2. 4
      heat-config/os-refresh-config/configure.d/20-os-apply-config

57
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}}

4
heat-config/os-refresh-config/configure.d/20-os-apply-config

@ -0,0 +1,4 @@
#!/bin/bash
set -ue
exec os-apply-config
Loading…
Cancel
Save