These aren't intended to function; they're here to allow the use of file.recurse on the provider folder, without requiring the user to provide pillar data for templates they're not using.master
{% set cloud = salt['pillar.get']('salt:cloud', {}) -%} | {% set cloud = salt['pillar.get']('salt:cloud', {}) -%} | ||||
ec2_ubuntu_public: | ec2_ubuntu_public: | ||||
minion: | minion: | ||||
master: {{ cloud['master'] }} | |||||
master: {{ cloud.get('master', 'salt') }} | |||||
grains: | grains: | ||||
test: True | test: True | ||||
ssh_interface: public_ips | ssh_interface: public_ips | ||||
id: {{ cloud['aws_key'] }} | |||||
key: '{{ cloud['aws_secret'] }}' | |||||
id: {{ cloud.get('aws_key', 'DEFAULT') }} | |||||
key: '{{ cloud.get('aws_secret', 'DEFAULT') }}' | |||||
private_key: /etc/salt/cloud.providers.d/key/key.pem | private_key: /etc/salt/cloud.providers.d/key/key.pem | ||||
keyname: keyname | keyname: keyname | ||||
location: eu-west-1 | location: eu-west-1 |
# This file managed by Salt, do not edit by hand!! | # This file managed by Salt, do not edit by hand!! | ||||
{% set cloud = salt['pillar.get']('salt:cloud', {}) -%} | {% set cloud = salt['pillar.get']('salt:cloud', {}) -%} | ||||
gce: | gce: | ||||
project: "{{ cloud['gce_project'] }}" | |||||
service_account_email_address: "{{ cloud['gce_service_account_email_address'] }}" | |||||
project: "{{ cloud.get('gce_project', 'DEFAULT') }}" | |||||
service_account_email_address: "{{ cloud.get('gce_service_account_email_address', 'DEFAULT') }}" | |||||
service_account_private_key: "/etc/salt/cloud.providers.d/key.pem" | service_account_private_key: "/etc/salt/cloud.providers.d/key.pem" | ||||
minion: | minion: | ||||
master: {{ cloud['master'] }} | |||||
master: {{ cloud.get('master', 'salt') }} | |||||
grains: | grains: | ||||
test: True | test: True | ||||
provider: gce | provider: gce |
rsos_{{ region|lower }}: | rsos_{{ region|lower }}: | ||||
minion: | minion: | ||||
master: {{ cloud['master'] }} | |||||
master: {{ cloud.get('master', 'salt') }} | |||||
grains: | grains: | ||||
region: {{ region|lower }} | region: {{ region|lower }} | ||||
protocol: ipv4 | protocol: ipv4 | ||||
compute_region: {{ region }} | compute_region: {{ region }} | ||||
provider: openstack | provider: openstack | ||||
user: {{ cloud['rsos_user'] }} | |||||
tenant: {{ cloud['rsos_tenant'] }} | |||||
apikey: {{ cloud['rsos_apikey'] }} | |||||
user: {{ cloud.get('rsos_user', 'DEFAULT') }} | |||||
tenant: {{ cloud.get('rsos_tenant', 'DEFAULT') }} | |||||
apikey: {{ cloud.get('rsos_apikey', 'DEFAULT') }} | |||||
{% endfor %} | {% endfor %} |
# This file is managed by Salt via {{ source }} | # This file is managed by Salt via {{ source }} | ||||
{% set cloud = salt['pillar.get']('salt:cloud', {}) -%} | |||||
saltify: | saltify: | ||||
provider: saltify | provider: saltify | ||||
minion: | minion: | ||||
master: {{ cloud['master'] }} | |||||
master: {{ cloud.get('master', 'salt') }} |