diff --git a/site-modules/profile/manifests/smartmontools.pp b/site-modules/profile/manifests/smartmontools.pp new file mode 100644 --- /dev/null +++ b/site-modules/profile/manifests/smartmontools.pp @@ -0,0 +1,9 @@ +# Install smart monitoring tools on physical machines +class profile::smartmontools { + $packages = ["smartmontools"] + + package {$packages: + ensure => $::virtual ? { 'physical' => 'installed', default => 'purged' } + } + +} diff --git a/site-modules/role/manifests/swh_base.pp b/site-modules/role/manifests/swh_base.pp --- a/site-modules/role/manifests/swh_base.pp +++ b/site-modules/role/manifests/swh_base.pp @@ -16,6 +16,7 @@ include profile::megacli } + include profile::smartmontools include profile::network include profile::swh }