15 lines
555 B
Plaintext
15 lines
555 B
Plaintext
# This file managed by Salt, do not edit by hand!!
|
|
{%- from "salt/map.jinja" import salt_settings with context -%}
|
|
{%- 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: "{{ salt_settings.config_path }}/pki/cloud/gce.pem"
|
|
minion:
|
|
master: {{ cloud.get('master', 'salt') }}
|
|
grains:
|
|
test: True
|
|
driver: gce
|
|
{%- endif %}
|