Puppet Class: systemd::machine_info

Defined in:
manifests/machine_info.pp

Summary

This class manages systemd's machine-info file (hostnamectl)

Overview



4
5
6
7
8
9
10
11
12
13
14
# File 'manifests/machine_info.pp', line 4

class systemd::machine_info {
  assert_private()

  $systemd::machine_info_settings.each |$option, $value| {
    shellvar { $option:
      ensure => 'present',
      target => '/etc/machine-info',
      value  => $value,
    }
  }
}