Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rsos.conf 652B

12345678910111213141516171819202122
  1. # This file managed by Salt, do not edit by hand!!
  2. # Providers for openstack-based Rackspace cloud servers.
  3. {% set salt = pillar.get('salt', {}) -%}
  4. {% set cloud = salt.get('cloud', {}) -%}
  5. {% for region in cloud.get('rsos_regions', []) %}
  6. rsos_{{ region|lower }}:
  7. minion:
  8. master: {{ cloud['master'] }}
  9. grains:
  10. region: {{ region|lower }}
  11. identity_url: 'https://identity.api.rackspacecloud.com/v2.0/tokens'
  12. compute_name: cloudServersOpenStack
  13. protocol: ipv4
  14. compute_region: {{ region }}
  15. provider: openstack
  16. user: {{ cloud['rsos_user'] }}
  17. tenant: {{ cloud['rsos_tenant'] }}
  18. apikey: {{ cloud['rsos_apikey'] }}
  19. {% endfor %}