0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-12 22:51:37 +01:00
salt-formula/salt/files/cloud.providers.d/rsos.conf
Andrew Vant 7e074dc379 Supplied default values for all pillar queries in provider templates.
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.
2015-04-03 18:47:08 -04:00

22 lines
683 B
Plaintext

# This file managed by Salt, do not edit by hand!!
# Providers for openstack-based Rackspace cloud servers.
{% set cloud = salt['pillar.get']('salt:cloud', {}) -%}
{% for region in cloud.get('rsos_regions', []) %}
rsos_{{ region|lower }}:
minion:
master: {{ cloud.get('master', 'salt') }}
grains:
region: {{ region|lower }}
identity_url: 'https://identity.api.rackspacecloud.com/v2.0/tokens'
compute_name: cloudServersOpenStack
protocol: ipv4
compute_region: {{ region }}
provider: openstack
user: {{ cloud.get('rsos_user', 'DEFAULT') }}
tenant: {{ cloud.get('rsos_tenant', 'DEFAULT') }}
apikey: {{ cloud.get('rsos_apikey', 'DEFAULT') }}
{% endfor %}