Optional[Array] $mounts = []
) {
$mounts.each |$mount| {
- ensure_package(["parted"])
+ ensure_packages(["parted"])
unless empty($mount) {
$infos = split($mount, ';')
device => "UUID=${infos[1]}",
fstype => $infos[2]
}
+
+ @profile::monitoring::local_service { "Size on ${infos[0]} partition":
+ local => {
+ check_command => "check_local_disk!10%!5%!${infos[0]}",
+ };
+ }
}
}
}