class nodo::role::nas(
$virtual = false,
) {
+ # Munin configuration
+ $munin = hiera('nodo::host::use_munin', True)
+
# Minimal utilities
include nodo::utils::network::minimal
class { 'nfs':
server => true;
}
+
+ munin::plugin { [ 'nfsd4' ]:
+ ensure => $munin ? {
+ true => present,
+ default => absent,
+ },
+ }
}
#
default => undef,
},
}
+
+ munin::plugin { [ 'samba' ]:
+ ensure => $munin ? {
+ true => present,
+ default => absent,
+ },
+ }
}
#