Saltstack Official Salt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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