projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7935071
)
And reload networking when we add new addresses
author
Peter Palfrader
<peter@palfrader.org>
Sun, 24 Sep 2017 17:41:56 +0000
(19:41 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 24 Sep 2017 17:41:56 +0000
(19:41 +0200)
modules/salsa/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/salsa/manifests/init.pp
b/modules/salsa/manifests/init.pp
index
8633d7b
..
5b4934c
100644
(file)
--- a/
modules/salsa/manifests/init.pp
+++ b/
modules/salsa/manifests/init.pp
@@
-60,7
+60,7
@@
class salsa inherits salsa::params {
target => "${salsa::home}/.ssh/authorized_keys",
}
# pages
- file { "/etc/network/interfaces.d/pages
_debian_
net.conf":
+ file { "/etc/network/interfaces.d/pages
.debian.
net.conf":
content => @("EOF"),
iface eth0 inet static
address 209.87.16.45/24
@@
-68,5
+68,9
@@
class salsa inherits salsa::params {
address 2607:f8f0:614:1::1274:45/64
preferred-lifetime 0
| EOF
+ notify => Exec['service networking reload'],
+ }
+ exec { 'service networking reload':
+ refreshonly => true,
}
}