# Common utilities for physical class nodo::utils::physical ( $ensure = 'installed', ) { package { [ 'nload', 'acpid', 'slurm', 'ethtool', 'parted', 'iftop', 'iptraf', 'htop', 'sdparm', 'iotop', 'sysstat', 'saidar', 'lshw', 'sg3-utils', 'nmon', 'atop', 'dcfldd', 'gdisk', 'powertop', 'bwm-ng', 'inxi', 'bmon', 'dstat', 'ifstat', ]: ensure => $ensure, } package { [ 'collectl', ]: ensure => $ensure, install_options => [ '--no-install-recommends' ], # otherwise it installs apache2 } package { [ 'acpi', 'cpuid', ]: ensure => $::architecture ? { 'armv5tel' => absent, 'armv6l' => absent, 'armv7l' => absent, default => $ensure, } } package { [ 'memtest86+', ]: ensure => $::architecture ? { 'amd64' => $ensure, default => absent, } } }