Browse Source

Do not sync salt-cloud provided default configuration by default

As discussed in PR#305, these are defaults that even if they are
configurable as probably not suited to a majority of users and causes
delete/add output on highstate of user of the formula choses to use
the same file name.
tags/v0.57.0
Gilles Dartiguelongue 7 years ago
parent
commit
87074cf3d9
13 changed files with 1 additions and 0 deletions
  1. +1
    -0
      salt/cloud.sls
  2. +0
    -0
      salt/files/cloud.maps.d/_ec2.conf
  3. +0
    -0
      salt/files/cloud.maps.d/_gce.conf
  4. +0
    -0
      salt/files/cloud.maps.d/_rsos.conf
  5. +0
    -0
      salt/files/cloud.maps.d/_saltify.conf
  6. +0
    -0
      salt/files/cloud.profiles.d/_ec2.conf
  7. +0
    -0
      salt/files/cloud.profiles.d/_gce.conf
  8. +0
    -0
      salt/files/cloud.profiles.d/_rsos.conf
  9. +0
    -0
      salt/files/cloud.profiles.d/_saltify.conf
  10. +0
    -0
      salt/files/cloud.providers.d/_ec2.conf
  11. +0
    -0
      salt/files/cloud.providers.d/_gce.conf
  12. +0
    -0
      salt/files/cloud.providers.d/_rsos.conf
  13. +0
    -0
      salt/files/cloud.providers.d/_saltify.conf

+ 1
- 0
salt/cloud.sls View File

@@ -55,6 +55,7 @@ salt-cloud-{{ cloud_section }}:
- source: {{ salt_settings.cloud.template_sources[cloud_section] }}
- template: jinja
- makedirs: True
- exclude_pat: _*

{% for filename in salt['pillar.get']("salt:cloud:" ~ cloud_section, {}).keys() %}
/etc/salt/cloud.{{ cloud_section }}.d/{{ filename }}:

salt/files/cloud.maps.d/ec2.conf → salt/files/cloud.maps.d/_ec2.conf View File


salt/files/cloud.maps.d/gce.conf → salt/files/cloud.maps.d/_gce.conf View File


salt/files/cloud.maps.d/rsos.conf → salt/files/cloud.maps.d/_rsos.conf View File


salt/files/cloud.maps.d/saltify.conf → salt/files/cloud.maps.d/_saltify.conf View File


salt/files/cloud.profiles.d/ec2.conf → salt/files/cloud.profiles.d/_ec2.conf View File


salt/files/cloud.profiles.d/gce.conf → salt/files/cloud.profiles.d/_gce.conf View File


salt/files/cloud.profiles.d/rsos.conf → salt/files/cloud.profiles.d/_rsos.conf View File


salt/files/cloud.profiles.d/saltify.conf → salt/files/cloud.profiles.d/_saltify.conf View File


salt/files/cloud.providers.d/ec2.conf → salt/files/cloud.providers.d/_ec2.conf View File


salt/files/cloud.providers.d/gce.conf → salt/files/cloud.providers.d/_gce.conf View File


salt/files/cloud.providers.d/rsos.conf → salt/files/cloud.providers.d/_rsos.conf View File


salt/files/cloud.providers.d/saltify.conf → salt/files/cloud.providers.d/_saltify.conf View File


Loading…
Cancel
Save