diff --git a/salt/cloud.sls b/salt/cloud.sls index 9c3f265..9d467e7 100644 --- a/salt/cloud.sls +++ b/salt/cloud.sls @@ -43,7 +43,7 @@ salt-cloud: - makedirs: True {% endfor %} -{% for cert in salt_settings.salt_cloud_certs %} +{% for cert in pillar.get('salt_cloud_certs', {}) %} {% for type in ['pem'] %} cloud-cert-{{ cert }}-pem: file.managed: