Puppet Class: systemd::system

Defined in:
manifests/system.pp

Overview

Parameters:

  • ensure (Any) (defaults to: 'present')
  • cpu_affinity (Any) (defaults to: undef)
  • capability_bounding_set (Any) (defaults to: undef)
  • crash_change_vt (Any) (defaults to: undef)
  • crash_reboot (Any) (defaults to: undef)
  • crash_shell (Any) (defaults to: undef)
  • ctrl_alt_del_burst_action (Any) (defaults to: undef)
  • default_block_io_accounting (Any) (defaults to: undef)
  • default_cpu_accounting (Any) (defaults to: undef)
  • default_environment (Any) (defaults to: undef)
  • default_limit_as (Any) (defaults to: undef)
  • default_limit_core (Any) (defaults to: undef)
  • default_limit_cpu (Any) (defaults to: undef)
  • default_limit_data (Any) (defaults to: undef)
  • default_limit_fsize (Any) (defaults to: undef)
  • default_limit_locks (Any) (defaults to: undef)
  • default_limit_memlock (Any) (defaults to: undef)
  • default_limit_msgqueue (Any) (defaults to: undef)
  • default_limit_nice (Any) (defaults to: undef)
  • default_limit_nofile (Any) (defaults to: undef)
  • default_limit_nproc (Any) (defaults to: undef)
  • default_limit_rss (Any) (defaults to: undef)
  • default_limit_rtprio (Any) (defaults to: undef)
  • default_limit_rttime (Any) (defaults to: undef)
  • default_limit_sigpending (Any) (defaults to: undef)
  • default_limit_stack (Any) (defaults to: undef)
  • default_memory_accounting (Any) (defaults to: undef)
  • default_restart_sec (Any) (defaults to: undef)
  • default_standard_error (Any) (defaults to: undef)
  • default_standard_output (Any) (defaults to: undef)
  • default_start_limit_burst (Any) (defaults to: undef)
  • default_start_limit_interval_sec (Any) (defaults to: undef)
  • default_tasks_accounting (Any) (defaults to: undef)
  • default_tasks_max (Any) (defaults to: undef)
  • default_timeout_start_sec (Any) (defaults to: undef)
  • default_timeout_stop_sec (Any) (defaults to: undef)
  • default_timer_accuracy_sec (Any) (defaults to: undef)
  • dump_core (Any) (defaults to: undef)
  • hibernate_mode (Any) (defaults to: undef)
  • hibernate_state (Any) (defaults to: undef)
  • hybrid_sleep_mode (Any) (defaults to: undef)
  • hybrid_sleep_state (Any) (defaults to: undef)
  • join_controllers (Any) (defaults to: undef)
  • log_color (Any) (defaults to: undef)
  • log_level (Any) (defaults to: undef)
  • log_location (Any) (defaults to: undef)
  • log_target (Any) (defaults to: undef)
  • runtime_watchdog_sec (Any) (defaults to: undef)
  • show_status (Any) (defaults to: undef)
  • shutdown_watchdog_sec (Any) (defaults to: undef)
  • suspend_mode (Any) (defaults to: undef)
  • suspend_state (Any) (defaults to: undef)
  • system_call_architectures (Any) (defaults to: undef)
  • timer_slack_nsec (Any) (defaults to: undef)


1
2
3
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'manifests/system.pp', line 1

class systemd::system(
                        $ensure                           = 'present',
                        $cpu_affinity                     = undef,
                        $capability_bounding_set          = undef,
                        $crash_change_vt                  = undef,
                        $crash_reboot                     = undef,
                        $crash_shell                      = undef,
                        $ctrl_alt_del_burst_action        = undef,
                        $default_block_io_accounting      = undef,
                        $default_cpu_accounting           = undef,
                        $default_environment              = undef,
                        $default_limit_as                 = undef,
                        $default_limit_core               = undef,
                        $default_limit_cpu                = undef,
                        $default_limit_data               = undef,
                        $default_limit_fsize              = undef,
                        $default_limit_locks              = undef,
                        $default_limit_memlock            = undef,
                        $default_limit_msgqueue           = undef,
                        $default_limit_nice               = undef,
                        $default_limit_nofile             = undef,
                        $default_limit_nproc              = undef,
                        $default_limit_rss                = undef,
                        $default_limit_rtprio             = undef,
                        $default_limit_rttime             = undef,
                        $default_limit_sigpending         = undef,
                        $default_limit_stack              = undef,
                        $default_memory_accounting        = undef,
                        $default_restart_sec              = undef,
                        $default_standard_error           = undef,
                        $default_standard_output          = undef,
                        $default_start_limit_burst        = undef,
                        $default_start_limit_interval_sec = undef,
                        $default_tasks_accounting         = undef,
                        $default_tasks_max                = undef,
                        $default_timeout_start_sec        = undef,
                        $default_timeout_stop_sec         = undef,
                        $default_timer_accuracy_sec       = undef,
                        $dump_core                        = undef,
                        $hibernate_mode                   = undef,
                        $hibernate_state                  = undef,
                        $hybrid_sleep_mode                = undef,
                        $hybrid_sleep_state               = undef,
                        $join_controllers                 = undef,
                        $log_color                        = undef,
                        $log_level                        = undef,
                        $log_location                     = undef,
                        $log_target                       = undef,
                        $runtime_watchdog_sec             = undef,
                        $show_status                      = undef,
                        $shutdown_watchdog_sec            = undef,
                        $suspend_mode                     = undef,
                        $suspend_state                    = undef,
                        $system_call_architectures        = undef,
                        $timer_slack_nsec                 = undef
                      ) {
  file { '/etc/systemd/system.conf':
    ensure  => $ensure,
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    content => template("${module_name}/system.conf.erb"),
    notify  => Exec['systemctl daemon-reload'],
  }
}