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:
a891a7a
)
try has_role
author
Peter Palfrader
<peter@palfrader.org>
Sun, 5 Jan 2014 14:10:33 +0000
(15:10 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 5 Jan 2014 14:10:40 +0000
(15:10 +0100)
modules/roles/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/init.pp
b/modules/roles/manifests/init.pp
index
e603cff
..
a3a294a
100644
(file)
--- a/
modules/roles/manifests/init.pp
+++ b/
modules/roles/manifests/init.pp
@@
-8,7
+8,7
@@
class roles {
include munin::master
}
- if
getfromhash($site::nodeinfo,
'nagiosmaster') {
+ if
has_role(
'nagiosmaster') {
# include nagios::server
ssl::service { 'nagios.debian.org':
notify => Service['apache2'],