mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 13:47:38 +01:00
23 lines
652 B
Plaintext
23 lines
652 B
Plaintext
|
# This file managed by Salt, do not edit by hand!!
|
||
|
# Providers for openstack-based Rackspace cloud servers.
|
||
|
|
||
|
{% set salt = pillar.get('salt', {}) -%}
|
||
|
{% set cloud = salt.get('cloud', {}) -%}
|
||
|
{% for region in cloud.get('rsos_regions', []) %}
|
||
|
|
||
|
rsos_{{ region|lower }}:
|
||
|
minion:
|
||
|
master: {{ cloud['master'] }}
|
||
|
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['rsos_user'] }}
|
||
|
tenant: {{ cloud['rsos_tenant'] }}
|
||
|
apikey: {{ cloud['rsos_apikey'] }}
|
||
|
{% endfor %}
|