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:
b0aedb2
)
Try a unique around v4addrs
author
Peter Palfrader
<peter@palfrader.org>
Wed, 31 Oct 2018 08:39:06 +0000
(09:39 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 31 Oct 2018 08:39:06 +0000
(09:39 +0100)
modules/ferm/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/ferm/manifests/init.pp
b/modules/ferm/manifests/init.pp
index
f33c8ba
..
c4c906d
100644
(file)
--- a/
modules/ferm/manifests/init.pp
+++ b/
modules/ferm/manifests/init.pp
@@
-7,6
+7,8
@@
# include ferm
#
class ferm {
+ include stdlib
+
# realize (i.e. enable) all @ferm::rule virtual resources
Ferm::Rule <| |>
Ferm::Conf <| |>
@@
-29,7
+31,7
@@
class ferm {
status => '/bin/true',
}
- $munin_ips =
getfromhash($site::nodeinfo, 'misc', 'v4addrs'
)
+ $munin_ips =
unique(getfromhash($site::nodeinfo, 'misc', 'v4addrs')
)
.map |$addr| { "ip_${addr}" }
munin::check { $munin_ips: script => 'ip_', }