summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-04 18:17:59 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-04 18:17:59 +0100
commit59c68612cb10392a0e008b88b4adde984a211d53 (patch)
tree7c633dbabd0d7d1e413faf9dac857b22a700cecc
parentAdd wpa_supplicant. (diff)
downloadwpa_supplicant-59c68612cb10392a0e008b88b4adde984a211d53.tar.gz
wpa_supplicant-59c68612cb10392a0e008b88b4adde984a211d53.tar.xz
Set refreshonly for wpa_supplicant.
-rw-r--r--manifests/interface.pp5
1 files 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,
}
}