diff options
Diffstat (limited to 'manifests/role/nas.pp')
-rw-r--r-- | manifests/role/nas.pp | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp index 536f9ca..a0a4c3d 100644 --- a/manifests/role/nas.pp +++ b/manifests/role/nas.pp @@ -82,11 +82,10 @@ class nodo::role::nas( server => true; } - munin::plugin { [ 'nfsd4' ]: - ensure => $munin ? { - true => present, - default => absent, - }, + if $munin == true { + munin::plugin { [ 'nfsd4' ]: + ensure => present, + } } } @@ -192,11 +191,10 @@ class nodo::role::nas( }, } - munin::plugin { [ 'samba' ]: - ensure => $munin ? { - true => present, - default => absent, - }, + if $munin == true { + munin::plugin { [ 'samba' ]: + ensure => present, + } } } |