aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/physical.pp
blob: 42d2ce1b06ef42ffa771c30e711dea33f781020e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class nodo::base::physical inherits nodo::base::host {
  include nodo::subsystem::sensors

  # Install all available CPU microcode packages
  include nodo::utils::microcode::intel
  include nodo::utils::microcode::amd64

  # Downtime monitoring
  #
  # Check https://tracker.debian.org/pkg/downtimed
  #       https://packages.debian.org/bookworm/downtimed
  #       https://dist.epipe.com/downtimed/

  $downtimed = lookup('nodo::downtimed', undef, undef, 'absent')

  package { [
    'downtimed',
  ]:
    ensure => $downtimed,
  }
}