"hp-health": ensure => installed;
"arrayprobe": ensure => installed;
}
- case extractnodeinfo($nodeinfo, 'squeeze') {
+ case getfromhash($nodeinfo, 'squeeze') {
true: {}
default: {
package {
refreshonly => true,
}
- case extractnodeinfo($nodeinfo, 'mail_port') {
+ case getfromhash($nodeinfo, 'mail_port') {
/^(\d+)$/: { $mail_port = $1 }
default: { $mail_port = 'smtp' }
}
$munin_ips: script => "ip_";
}
- case extractnodeinfo($nodeinfo, 'buildd') {
+ case getfromhash($nodeinfo, 'buildd') {
true: {
file {
"/etc/ferm/conf.d/load_ftp_conntrack.conf":
ensure => directory,
;
}
- case extractnodeinfo($nodeinfo, 'timeserver') {
+ case getfromhash($nodeinfo, 'timeserver') {
true: { }
default: {
file {