From d615d1da467310aa9c8f43056dc0b328a57f092e 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. --- modules/wpa_supplicant/manifests/interface.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/wpa_supplicant/manifests/interface.pp b/modules/wpa_supplicant/manifests/interface.pp index 8254359..10373d1 100644 --- a/modules/wpa_supplicant/manifests/interface.pp +++ b/modules/wpa_supplicant/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