diff --git a/consul/config.sls b/consul/config.sls index 44c39c91..394675f2 100644 --- a/consul/config.sls +++ b/consul/config.sls @@ -4,7 +4,7 @@ consul-config: file.serialize: - name: /etc/consul.d/config.json - formatter: json - - dataset: {{ consul.config }} + - dataset_pillar: consul:config - user: {{ consul.user }} - group: {{ consul.group }} - mode: 0640 @@ -40,4 +40,4 @@ consul-script-config: - user: consul-user - formatter: json - dataset: - services: {{ consul.register }} + services: {{ consul.register | json }}