Don't always use aws.conf

We don't usually need it, and it makes it harder to put apiserver into a container.
This commit is contained in:
Justin Santa Barbara
2015-04-14 09:30:00 -07:00
parent 124bece655
commit 72687184b9
3 changed files with 6 additions and 7 deletions

View File

@@ -15,7 +15,9 @@
{% endif -%}
{% elif grains.cloud == 'aws' -%}
{% set cloud_config = "--cloud_config=/etc/aws.conf" -%}
{% if grains.cloud_config is defined -%}
{% set cloud_config = "--cloud_config=" + grains.cloud_config -%}
{% endif -%}
{% endif -%}
{% endif -%}