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