Skip to content

Commit

Permalink
Merge pull request #588 from boopalans/PNDA-4775
Browse files Browse the repository at this point in the history
PNDA-4775 Internet not reached from deployed cluster, online std
  • Loading branch information
jgarnier authored Aug 22, 2018
2 parents a1d2bdf + 01bf363 commit 00e183e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions salt/consul/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
{%- endfor -%}
{% endif %}
{%- for ip in pillar['nameserver']['servers'] -%}
{%- do consul.config.recursors.append(ip) -%}
{%- endfor -%}
consul-config:
file.serialize:
- name: /etc/consul.d/config.json
Expand Down
1 change: 1 addition & 0 deletions salt/consul/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ consul:
log_level: info
encrypt: ""
retry_join: []
recursors: []
retry_interval: 30s
datacenter: "{{ pillar['consul']['data_center'] }}"
enable_script_checks: true
Expand Down

0 comments on commit 00e183e

Please sign in to comment.