diff --git a/salt/cloud.sls b/salt/cloud.sls index b78d522..85d2423 100644 --- a/salt/cloud.sls +++ b/salt/cloud.sls @@ -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 }}: diff --git a/salt/files/cloud.maps.d/ec2.conf b/salt/files/cloud.maps.d/_ec2.conf similarity index 100% rename from salt/files/cloud.maps.d/ec2.conf rename to salt/files/cloud.maps.d/_ec2.conf diff --git a/salt/files/cloud.maps.d/gce.conf b/salt/files/cloud.maps.d/_gce.conf similarity index 100% rename from salt/files/cloud.maps.d/gce.conf rename to salt/files/cloud.maps.d/_gce.conf diff --git a/salt/files/cloud.maps.d/rsos.conf b/salt/files/cloud.maps.d/_rsos.conf similarity index 100% rename from salt/files/cloud.maps.d/rsos.conf rename to salt/files/cloud.maps.d/_rsos.conf diff --git a/salt/files/cloud.maps.d/saltify.conf b/salt/files/cloud.maps.d/_saltify.conf similarity index 100% rename from salt/files/cloud.maps.d/saltify.conf rename to salt/files/cloud.maps.d/_saltify.conf diff --git a/salt/files/cloud.profiles.d/ec2.conf b/salt/files/cloud.profiles.d/_ec2.conf similarity index 100% rename from salt/files/cloud.profiles.d/ec2.conf rename to salt/files/cloud.profiles.d/_ec2.conf diff --git a/salt/files/cloud.profiles.d/gce.conf b/salt/files/cloud.profiles.d/_gce.conf similarity index 100% rename from salt/files/cloud.profiles.d/gce.conf rename to salt/files/cloud.profiles.d/_gce.conf diff --git a/salt/files/cloud.profiles.d/rsos.conf b/salt/files/cloud.profiles.d/_rsos.conf similarity index 100% rename from salt/files/cloud.profiles.d/rsos.conf rename to salt/files/cloud.profiles.d/_rsos.conf diff --git a/salt/files/cloud.profiles.d/saltify.conf b/salt/files/cloud.profiles.d/_saltify.conf similarity index 100% rename from salt/files/cloud.profiles.d/saltify.conf rename to salt/files/cloud.profiles.d/_saltify.conf diff --git a/salt/files/cloud.providers.d/ec2.conf b/salt/files/cloud.providers.d/_ec2.conf similarity index 100% rename from salt/files/cloud.providers.d/ec2.conf rename to salt/files/cloud.providers.d/_ec2.conf diff --git a/salt/files/cloud.providers.d/gce.conf b/salt/files/cloud.providers.d/_gce.conf similarity index 100% rename from salt/files/cloud.providers.d/gce.conf rename to salt/files/cloud.providers.d/_gce.conf diff --git a/salt/files/cloud.providers.d/rsos.conf b/salt/files/cloud.providers.d/_rsos.conf similarity index 100% rename from salt/files/cloud.providers.d/rsos.conf rename to salt/files/cloud.providers.d/_rsos.conf diff --git a/salt/files/cloud.providers.d/saltify.conf b/salt/files/cloud.providers.d/_saltify.conf similarity index 100% rename from salt/files/cloud.providers.d/saltify.conf rename to salt/files/cloud.providers.d/_saltify.conf