2014-07-20 16:59:38 +02:00
|
|
|
# This file managed by Salt, do not edit by hand!!
|
2016-03-29 19:28:47 +02:00
|
|
|
{%- from "salt/map.jinja" import salt_settings with context -%}
|
2015-04-17 16:48:47 +02:00
|
|
|
{%- set cloud = salt['pillar.get']('salt:cloud', {}) -%}
|
|
|
|
{%- if 'gce_project' in cloud %}
|
2014-07-20 16:59:38 +02:00
|
|
|
gce:
|
2015-04-04 00:47:08 +02:00
|
|
|
project: "{{ cloud.get('gce_project', 'DEFAULT') }}"
|
|
|
|
service_account_email_address: "{{ cloud.get('gce_service_account_email_address', 'DEFAULT') }}"
|
2016-03-29 19:28:47 +02:00
|
|
|
service_account_private_key: "{{ salt_settings.config_path }}/pki/cloud/gce.pem"
|
2014-07-20 16:59:38 +02:00
|
|
|
minion:
|
2015-04-04 00:47:08 +02:00
|
|
|
master: {{ cloud.get('master', 'salt') }}
|
2014-07-20 16:59:38 +02:00
|
|
|
grains:
|
|
|
|
test: True
|
2016-04-01 04:39:55 +02:00
|
|
|
driver: gce
|
2015-04-17 16:48:47 +02:00
|
|
|
{%- endif %}
|