0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 15:57:25 +01:00
salt-formula/salt/files/cloud.providers.d/gce.conf
Andrew Vant a01249a7fc ec2/gce profiles/providers are no longer configured if they are not used.
Needed because salt-cloud will attempt to load them even if they are
filled with invalid default values, creating error spam.
2015-04-17 10:48:47 -04:00

14 lines
471 B
Plaintext

# This file managed by Salt, do not edit by hand!!
{%- set cloud = salt['pillar.get']('salt:cloud', {}) -%}
{%- if 'gce_project' in cloud %}
gce:
project: "{{ cloud.get('gce_project', 'DEFAULT') }}"
service_account_email_address: "{{ cloud.get('gce_service_account_email_address', 'DEFAULT') }}"
service_account_private_key: "/etc/salt/pki/cloud/gce.pem"
minion:
master: {{ cloud.get('master', 'salt') }}
grains:
test: True
provider: gce
{%- endif %}