Pārlūkot izejas kodu

Merge "Disable resolvconf service."

pull/139/head
mcp-jenkins pirms 7 gadiem
vecāks
revīzija
1aa1aea055
1 mainītis faili ar 7 papildinājumiem un 4 dzēšanām
  1. +7
    -4
      linux/network/resolv.sls

+ 7
- 4
linux/network/resolv.sls Parādīt failu

@@ -6,10 +6,13 @@
- source: salt://linux/files/resolv.conf
- mode: 644
- 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 %}

Notiek ielāde…
Atcelt
Saglabāt