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:
aa94c10
)
roles: drop redundant configuration
author
Héctor Orón Martínez
<zumbi@debian.org>
Mon, 27 Oct 2014 12:35:48 +0000
(13:35 +0100)
committer
Héctor Orón Martínez
<zumbi@debian.org>
Mon, 27 Oct 2014 12:35:48 +0000
(13:35 +0100)
Signed-off-by: Héctor Orón Martínez <zumbi@debian.org>
modules/roles/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/init.pp
b/modules/roles/manifests/init.pp
index
063a748
..
5ec93d1
100644
(file)
--- a/
modules/roles/manifests/init.pp
+++ b/
modules/roles/manifests/init.pp
@@
-30,12
+30,10
@@
class roles {
# XXX: turn this into a real role
if getfromhash($site::nodeinfo, 'porterbox') {
- include porterbox
class {'porterbox':
ensure => present,
}
} else {
- include porterbox
class {'porterbox':
ensure => absent,
}