aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/physical.pp
blob: 2f6309454d186912601f73799aa53330f6ea7b7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class nodo::base::physical inherits nodo::base::host {
  $smartmontools = lookup('nodo::smartmontools', undef, undef, true)

  if $smartmontools == true {
    class { 'smartmontools': }
  }

  package { [ 'lm-sensors', ]:
    ensure => present,
  }

  # Deprecated
  package { [
    'hddtemp',
  ]:
    ensure => $::lsbdistcodename ? {
      'wheezy'   => present,
      'buster'   => present,
      'bullseye' => present,
      default  => absent,
    }
  }
}