File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ Data type: `Enum['stopped','running']`
192192
193193The state that the `` resolved `` service should be in. When migrating from 'running' to
194194'stopped' an attempt will be made to restore a working ` /etc/resolv.conf ` using
195- ` /run/systemd/resolved /resolv.conf ` .
195+ ` /run/systemd/resolve /resolv.conf ` .
196196
197197Default value: ` 'running' `
198198
Original file line number Diff line number Diff line change 2727# @param resolved_ensure
2828# The state that the ``resolved`` service should be in. When migrating from 'running' to
2929# 'stopped' an attempt will be made to restore a working `/etc/resolv.conf` using
30- # `/run/systemd/resolved /resolv.conf`.
30+ # `/run/systemd/resolve /resolv.conf`.
3131#
3232# @param resolved_package
3333# The name of a systemd sub package needed for systemd-resolved if one needs to be installed.
Original file line number Diff line number Diff line change 8787 # /etc/resolv.conf to something that might actually work on
8888 # reboot.
8989 exec { 'restore_resolv.conf_if_possible' :
90- command => ' cp --remove-destination -f /run/systemd/resolve/resolv.conf /etc/resolv.conf' ,
91- onlyif => ' l="$(readlink /etc/resolv.conf)"; test "$l" = "/run/systemd/resolve/resolv.conf" || test "$l" = "/run/systemd/resolve/stub-resolv.conf' ,
92- path => $facts [' path' ],
90+ command => ' cp --remove-destination -f /run/systemd/resolve/resolv.conf /etc/resolv.conf' ,
91+ onlyif => ' l="$(readlink /etc/resolv.conf)"; test "$l" = "/run/systemd/resolve/resolv.conf" || test "$l" = "/run/systemd/resolve/stub-resolv.conf' ,
92+ path => $facts [' path' ],
93+ provider => ' shell' ,
9394 }
9495 }
9596 }
You can’t perform that action at this time.
0 commit comments