From 59c68612cb10392a0e008b88b4adde984a211d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 4 Jan 2022 18:17:59 +0100 Subject: Set refreshonly for wpa_supplicant. --- manifests/interface.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifests/interface.pp b/manifests/interface.pp index 8254359..10373d1 100644 --- a/manifests/interface.pp +++ b/manifests/interface.pp @@ -13,7 +13,8 @@ define wpa_supplicant::interface ( networks => $networks }), } ~> exec { "Reload wpa_supplicant for ${interface}": - command => [ 'wpa_cli', 'reconfigure', '-i', $interface, ], - path => [ '/bin', '/usr/bin', ], + command => [ 'wpa_cli', 'reconfigure', '-i', $interface, ], + path => [ '/bin', '/usr/bin', ], + refreshonly => true, } } -- cgit v1.2.3