Puppet Class: systemd::install

Defined in:
manifests/install.pp

Summary

Install any systemd sub packages

Overview



4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'manifests/install.pp', line 4

class systemd::install {
  if $systemd::manage_networkd and $systemd::networkd_package {
    package { $systemd::networkd_package:
      ensure => present,
    }
  }

  if $systemd::manage_oomd and $systemd::oomd_package {
    package { $systemd::oomd_package:
      ensure => present,
    }
  }

  if $systemd::manage_resolved and $systemd::resolved_package {
    package { $systemd::resolved_package:
      ensure => present,
    }
  }

  if $systemd::manage_timesyncd and $systemd::timesyncd_package {
    package { $systemd::timesyncd_package:
      ensure => present,
    }
  }

  if $systemd::manage_nspawn and $systemd::nspawn_package {
    package { $systemd::nspawn_package:
      ensure => present,
    }
  }
}