Browse Source

Merge "Disable resolvconf service."

pull/139/head
mcp-jenkins 7 years ago
parent
commit
1aa1aea055
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      linux/network/resolv.sls

+ 7
- 4
linux/network/resolv.sls View File

- source: salt://linux/files/resolv.conf - source: salt://linux/files/resolv.conf
- mode: 644 - mode: 644
- template: jinja - template: jinja
- follow_symlinks: false
- require:
- service: resolvconf_service


linux_resolvconf_disable:
cmd.run:
- name: resolvconf --disable-updates
- onlyif: resolvconf --updates-are-enabled
resolvconf_service:
service.dead:
- name: resolvconf
- enable: false


{%- endif %} {%- endif %}

Loading…
Cancel
Save