Version information
This version is compatible with:
- Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 4.0.0 < 5.0.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'kb-systemd', '0.0.0'
Learn more about managing modules with a PuppetfileDocumentation
systemd
overview
This module manages systemd
–
the EMACS without the editor.
module description
This module does not cure systemd
isease.
It may allay the symptoms of it,
but a professional treatment is advised.
As systemd
isease is under research
as is this module.
Anyway,
since it's first public release
it is considered
to notably ease the pain of affected sysadmins.
However, further tests have to be conducted.
My guaranty: This module is as bad as what it manages (or even worse). I mean, c'mon, let's take over everything that's possible – what a dumb idea (instead of contributing to existing projects, you know).
setup
what systemd
affects
Haha, what doesn't it?
- package:
systemd
(optional, confersystemd_package_name
) - file:
/etc/systemd/system.conf
(optional; seemanage_loc_systemd_conf
) - directory:
/etc/systemd/system.conf.d/
(optional, seepurge_loc_systemd_conf_dir
) - files:
/etc/systemd/system.conf.d/*
(optional, seepurge_loc_systemd_conf_dir
) - file:
/etc/systemd/journal.conf
(optional, seemanage_loc_journald_conf
) - directory:
/etc/systemd/journal.conf.d/
(optional, seepurge_loc_journald_conf_dir
) - files:
/etc/systemd/journal.conf.d/*
(optional, seepurge_loc_journald_conf_dir
) - file:
/etc/systemd/logind.conf
(optional, seemanage_loc_logind_conf
) - directory:
/etc/systemd/logind.conf.d/
(optional, seepurge_loc_logind_conf_dir
) - files:
/etc/systemd/logind.conf.d/*
(optional, seepurge_loc_logind_conf_dir
) - file:
/etc/systemd/resolved.conf
(optional, seemanage_loc_resolved_conf
) - directory:
/etc/systemd/resolved.conf.d/
(optional, seepurge_loc_resolved_conf_dir
) - files:
/etc/systemd/resolved.conf.d/*
(optional, seepurge_loc_resolved_conf_dir
) - file:
/etc/systemd/timesyncd.conf
(optional, seemanage_loc_timesyncd_conf
) - directory:
/etc/systemd/timesyncd.conf.d/
(optional, seepurge_loc_timesyncd_conf_dir
) - files:
/etc/systemd/timesyncd.conf.d/*
(optional, seepurge_loc_timesyncd_conf_dir
) - directory:
/etc/systemd/system-preset/
(optional, seemanage_loc_system_preset_dir
) - files:
/etc/systemd/system-preset/*
(optional, seepurge_loc_system_preset_dir
) - file:
/etc/systemd/bootchart.conf
(optional, seemanage_loc_bootchart_conf
) - directory:
/etc/systemd/bootchart.conf.d/
(optional, seepurge_loc_bootchart_conf_dir
) - files:
/etc/systemd/bootchart.conf.d/*
(optional, seepurge_loc_bootchart_conf_dir
) - file:
/etc/systemd/sleep.conf
(optional, seemanage_loc_sleep_conf
) - directory:
/etc/systemd/sleep.conf.d/
(optional, seepurge_loc_sleep_conf_dir
) - files:
/etc/systemd/sleep.conf.d/*
(optional, seepurge_loc_sleep_conf_dir
) - directory:
/etc/modules-load.d/
(optional, seemanage_modules_load_dir
) - files:
/etc/modules-load.d/*
(optional, seemanage_modules_load_dir
) - file:
/etc/machine-info
(optional, seemanage_machine_info
) - directory:
/etc/sysusers.d/
(optional, seemanage_sysusers_dir
) - files:
/etc/sysusers.d/*
(optional, seemanage_sysusers_dir
) - file:
/etc/network/interfaces
(optional, seeetc_network_interfaces_note
) - file:
/etc/sysctl.conf
(optional, seemanage_sysctl_conf
) - directory:
/etc/sysctl.d/
(optional, seemanage_sysctl_directory
) - files:
/etc/sysctl.d/*
(optional, seemanage_sysctl_directory
) - file:
/etc/udev/udev.conf
(optional, seemanage_udev_conf
) - file:
/etc/locale.conf
(optional, seemanage_locale_conf
) - file:
/etc/localtime
(optional, seemanage_localtime
)
setup requirements
Following software is not managed by any means through this module.
- Several things require a shell.
- Some things require
coreutils
. - Some things require
grep(1)
.
Furthermore, your system has to run on the systemd
operating system.
It is not checked,
whether the current runtime is actually powered by systemd
.
reference
Enough for the systemd
bashing
(we'll come to that back later).
Here comes the reference.
My policy regarding case-sensitive languages (like ruby):
identifiers are written in snake_case
,
all letters in lower-case
[in case in-sensitive language I do use camelCase
].
Therefore
systemd.directives(7)
are adapted accordingly.
Usually they're prefixed with the [section]
name they belong to.
Furthermore identifiers are limited to a length of 29 characters.
So sometimes I've arbitrarily shortened the names from systemd.
This module is primarily aimed to prevent obvious mistakes. It does not prevent you from doing stupid things.
classes
systemd
systemd::params
: holds defaultssystemd::install
: installssystemd
, optionally uninstalls some conflicting softwaresystemd::config
: resource collectors andsystemd(1)
configuration per sesystemd::daemon
: [since::service
is taken]
parameters
All the following parameters are for the systemd
basis class.
Note:
No configuration (determined by the following class parameters) is performed,
if systemd_package_version
is either
'absent'
or 'purged'
.
This note is not repeated at each individual configuration parameter.
systemd_package_name
-
abstract: The name of the
systemd
package. -
behavior:
-
any string: the
Package['systemd']
gets managed by this module, wherePackage['systemd']['name'] = systemd_package_name
. -
undef
:Package['systemd']
isn't be managed by this module
-
-
allowed values: a non-empty string or
undef
-
default:
'systemd'
on all platforms
systemd_package_version
-
abstract: the version of the package specified by
systemd_package_name
-
behavior:
-
'absent'
,'purged'
: Remove or purge the package specified bysystemd_package_name
[Class] configuration files aren't managed anymore. -
any other string: the package version is updated accordingly and all (class) configuration files are managed (provided their
manage_XYZ_conf
istrue
)
-
-
allowed values: any non-empty string
-
default:
present
systemd_local_gens_dir
-
abstract: whether the directory
/etc/systemd/system-generators/
shall be created -
behavior:
-
true
: the directory becomes managed. Any un-managed files in there are purged. Changes in this directory trigger a generator re-run. Seesystemd.generator(7)
for more information. -
false
: no additional behavior
-
-
acceptable values:
true
,false
-
default value:
false
collect_systemd_resources
-
abstract: whether
systemd::config
collects allsystemd::*
defined type resources -
behavior
-
true
: Insystemd::config
all defined type resources are collected with a resource collector. This is used to trigger asystemctl daemon-reload
insystemd::daemon
. -
false
: The functionality described attrue
is not added. On more complex set-ups you'd get quite fast into trouble with dependency cycles.
-
-
Note: The defined resource types establish the link
unit_file ↝ associated_service
. This only works as expected, ifsystemd
doesn't use cached units. The catch-all solution is to leave this parameter totrue
. -
acceptable values:
true
,false
-
default value:
true
remove_rather_purge_conflicts
-
abstract: whether packages conflicting with systemd annexed services ar just removed instead of purged
-
behavior:
-
true
: remove conflicting packages (ensure => absent
) -
false
: purge conflicting packages (ensure => purged
)
-
-
allowed values:
true
andfalse
-
default:
false
systemd_networkd_ensure
-
abstract:
Service['networkd']['ensure']
-
behavior
-
'running'
/'stopped'
: stop or run thesystemd-networkd(8)
service -
undef
: the network daemon is not managed by this module
-
-
allowed values:
'running'
,'stopped'
, andundef
-
default:
undef
systemd_networkd_enable
-
abstract:
Service['networkd']['enable']
-
behavior:
-
true
/false
: thesystemd-networkd
does or does not start on boot -
undef
: this setting is not modified. The “vendor preset” seems to be disabled (do not start at boottime).
-
-
allowed values:
true
,false
andundef
-
default:
undef
manage_networkd_competitors
-
abstract: whether to take care of other network management packages
-
behavior
-
true
: purge packages specified bynetworkd_competitors_packages
. Beware: Some network managers de_configure the network, if they're asked to sign off (because of the de-installation) This leads to you losing network connectivity _during the puppet run, possibly ending up in a mis-configured machine. -
false
: do not remove any package. Note: You have to take care of other competing network management programs by yourself, if you'd like to givesystemd-networkd(8)
the sole control. Just disabling theservice { 'networking': enable => false}
[ormask
], so they aren't started at the next boot, seems to be the most clean solution.
-
-
allowed values:
false
,true
-
default:
false
networkd_competitors_packages
-
abstract: the package to remove, if
manage_networkd_competitors
-
allowed values: an array of non-empty strings
-
default:
$systemd::params::networkd_competitors_packages
, which is platform-independently['ifupdown', 'ifupdown2', 'libnm-glib4']
(hint:nm
= NetworkManager)
systemd_resolved_ensure
-
abstract:
Service['resolved']['ensure']
-
behavior
-
'running'
/'stopped'
: stop or run thesystemd-resolved(8)
service -
undef
:Service['resolved']
ain't managed by this module
-
-
allowed values:
'running'
,'stopped'
andundef
-
default:
undef
systemd_resolved_enable
-
abstract:
Service['resolved']['enable']
-
behavior:
-
true
/false
: thesystemd-resolved
will or will not start on boot -
undef
: this setting isn't be modified. the “vendor preset” seems to be enabled (start on boot)
-
-
allowed values:
true
,false
andundef
-
default:
undef
manage_resolv_conf_symlink
-
abstract: make symlink
/etc/resolv.conf → /run/systemd/resolve/resolv.conf
-
behavior:
-
true
: establish the symbolic link to theresolv.conf(5)
generated bysystemd-resolved(8)
-
false
: this module doesn't touch/etc/resolv.conf
-
-
allowed values:
true
andfalse
-
default:
false
systemd_timesyncd_ensure
-
abstract:
Service['timesyncd']['ensure']
-
behavior:
-
'running'
: it is ensured, that thesystemd-timesyncd
is running -
'stopped'
: it is ensured, that thesystemd-timesyncd
is stopped -
undef
thesystemd-timesyncd(8)
doesn't get managed by this module
-
-
allowed values:
true
,false
, andundef
-
default value:
undef
systemd_timesyncd_enable
-
abstract:
Service['timesyncd']['enable']
-
behavior:
-
true
: thesystemd-timesyncd
starts on boot -
false
: thesystemd-timesyncd
won't start on boot -
undef
: do not touch this setting the “vendor preset” seems to be enabled (start on boot)
-
-
allowed values:
true
,false
andundef
-
default:
undef
manage_timesyncd_conflicts
-
abstract: whether to “take care of” other NTPds
-
behavior
-
true
: in'/lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf'
(a drop-in configuration file)systemd-timesyncd(8)
refuses to start, in case there are any other executable NTPds (not necessarily running). This module can take care of them by removing the relevant packages specified bytimesyncd_package_conflicts
. See alsoremove_rather_purge_conflicts
. -
false
: You have to resolve the situation on your own, if you'd like to use thesystemd-timesyncd(8)
.
-
-
allowed values:
true
andfalse
-
default:
false
timesyncd_package_conflicts
-
abstract: a list of packages conflicting with
systemd-timesyncd(8)
-
allowed values: an array of non-empty strings
-
default:
['chrony', 'ntp', 'openntpd']
manage_loc_systemd_conf
-
abstract: whether to manage
/etc/systemd/system.conf
-
behavior
-
true
:/etc/systemd/system.conf
is created withsystemd_system_conf_erb
. You should setpurge_loc_systemd_conf_dir
totrue
, too. -
false
:systemd-system.conf(5)
is not managed by this module
-
-
value range:
true
andfalse
-
default:
false
purge_loc_systemd_conf_dir
-
abstract: enable recursive purge in
/etc/systemd/system.conf.d/
-
behavior
-
false
: do not touch/etc/systemd/system.conf.d/
-
If
true
, files (and directories) in/etc/systemd/system.conf.d/
already present, but not managed by puppet, get deleted. It ensures the directorysystem.conf.d/
is existent, and only contains files you want, since “[t]he main configuration file [system.conf] is read before any of the configuration directories, and has the lowest precedence” (quote fromsystemd-system.conf(5)
). There's no distinction being made between*.conf
files and others.
-
-
allowed values:
true
andfalse
-
default:
false
manage_loc_journald_conf
-
abstract: whether to manage
/etc/systemd/journald.conf
-
behavior
-
false
: the file/etc/systemd/journald.conf
ain't managed -
true
: fill/etc/systemd/journald.conf
withsystemd_journald_conf_erb
. You should setpurge_loc_journald_conf_dir
totrue
, too, avoiding settings being overridden by files, not managed by puppet.
-
-
allowed values:
true
andfalse
-
default:
false
purge_loc_journald_conf_dir
-
abstract: whether to manage
/etc/systemd/journald.conf.d/
-
behavior
-
true
: the directory/etc/systemd/journald.conf.d/
is created and emptied of any unmanaged files. You definitely want that if youmanage_loc_journald_conf
, because/etc/systemd/journald.conf
takes lowest precedence. -
false
: the directory/etc/systemd/journald.conf.d/
is neither created, modified, nor emptied
-
-
allowed values:
true
andfalse
-
default:
false
manage_loc_logind_conf
-
abstract: whether to manage
/etc/systemd/logind.conf
-
behavior
-
true
: thesystemd-logind(8)
configuration file/etc/systemd/logind.conf
gets created bysystemd_logind_conf_erb
template. You'd like to setpurge_loc_logind_conf_dir
, too. -
false
:/etc/systemd/logind.conf
is not managed
-
-
allowed values:
true
andfalse
-
default:
false
purge_loc_logind_conf_dir
-
abstract: whether to free
/etc/systemd/logind.conf.d/
from unmanaged files -
behavior
-
true
: everything in the folder/etc/systemd/logind.conf.d/
is deleted, unless it's managed by puppet. -
false
: don't worry about/etc/systemd/logind.conf.d/
-
-
allowed values:
true
andfalse
-
default:
false
manage_loc_resolved_conf
-
abstract: whether to manage
/etc/systemd/resolved.conf
-
behavior
-
true
: thesystemd-resolved(8)
configuration file/etc/systemd/resolved.conf
is generated by templatesystemd_resolved_conf_erb
. You wanna setpurge_loc_resolved_conf_dir
totrue
, too. -
false
:systemd-resolved(8)
is not configured by this module
-
-
allowed values:
true
andfalse
-
default:
false
purge_loc_resolved_conf_dir
-
abstract: whether to manage
/etc/systemd/resolved.conf.d/
-
behavior
-
true
: ensure the directory/etc/systemd/resolved.conf.d/
is present and only contains files managed by puppet. You want that, since/etc/systemd/resolved.conf
(the local configuration file) takes lowest precendence. -
false
: don't give a fuck about/etc/systemd/resolved.conf.d/
-
-
allowed values:
true
andfalse
-
default value:
false
manage_loc_timesyncd_conf
-
abstract: whether to manage
/etc/systemd/timesyncd.conf
-
behavior
-
true
: thesystemd-timesyncd(8)
configuration becomes managed and filled withsystemd_timesyncd_conf_erb
. You want to setpurge_loc_timesyncd_conf_dir
totrue
, too, since files there might override configuration values. -
false
: nothing regarding a localtimesyncd.conf
configuration changes
-
-
allowed values:
true
andfalse
-
default:
false
purge_loc_timesyncd_conf_dir
-
abstract: whether the folder
/etc/systemd/timesyncd.conf.d/
is freed from unmanaged files -
behavior:
-
true
: ensure the directory/etc/systemd/timesyncd.conf.d/
is present, and does not contain any unmanaged files (= files not managed via puppet) -
false
: ignore any presence or absence of the directory or files in there
-
-
allowed values:
true
andfalse
-
default:
false
manage_loc_system_preset_dir
-
abstract: whether the directory
/etc/systemd/system-preset/
becomes managed -
behavior
-
true
: the directory/etc/systemd/system-preset/
is created. This does not free the directory from unmanaged files. For that seepurge_loc_system_preset_dir
. -
false
: don't care about the directory/etc/systemd/system-preset/
-
-
allowed values:
true
andfalse
-
default:
false
purge_loc_system_preset_dir
-
abstract: whether anything below
purge_loc_system_preset_dir
, that's not managed by puppet, is deleted -
behavior
-
true
: delete any unmanaged files/directories below/etc/systemd/system-preset/
. -
false
: don't care about any files and or directories in/etc/systemd/system-preset/
.
-
-
note: This parameter only has an effect, if
manage_loc_system_preset_dir
istrue
. -
allowed values:
true
andfalse
-
default:
false
manage_loc_bootchart_conf
-
abstract: whether to manage
/etc/systemd/bootchart.conf
-
behavior
-
true
: the file is/etc/systemd/bootchart.conf
is created with templatesystemd_bootchart_conf_erb
-
false
: do not locally configuresystemd-bootchart(1)
-
-
allowed values:
true
andfalse
-
default:
false
purge_loc_bootchart_conf_dir
-
abstract: manage
/etc/systemd/bootchart.conf.d/
-
behavior
-
true
: the directory/etc/systemd/bootchart.conf.d/
is managed by this module. It is freed from any unmanaged files. -
false
: do not do anything regarding/etc/systemd/bootchart.conf.d/
-
-
allowed values:
true
andfalse
-
default:
false
manage_loc_sleep_conf
-
abstract: do manage
/etc/systemd/sleep.conf
-
behavior
-
true
: the file/etc/systemd/sleep.conf
becomes managed by this module and is filled with the template specified bysystemd_sleep_conf_erb
-
false
: do not care about/etc/systemd/sleep.conf
-
-
allowed values:
true
andfalse
-
default:
false
purge_loc_sleep_conf_dir
-
abstract: whether to manage
/etc/systemd/sleep.conf.d/
-
behavior
-
true
: the directory/etc/systemd/sleep.conf.d/
is present and does not contain any unmanaged files -
false
: nothing happens
-
-
allowed values:
true
andfalse
-
default:
false
manage_modules_load_dir
-
abstract: whether to manage
/etc/modules-load.d/
-
behavior
-
true
: if not present, the directory/etc/modules-load.d/
is created, and is held free from any unmanaged files -
false
: no additional behavior
-
-
allowed values:
true
andfalse
-
default:
false
manage_machine_info
-
abstract: whether to manage
/etc/machine-info
-
behavior
-
true
: themachine-info(5)
is managed by the specifiedmachine_info_provider
-
false
: machine informations aren't managed
-
-
allowed values:
true
andfalse
-
default:
false
machine_info_provider
-
abstract: how to manage
machine-info(5)
, assumed it is managed -
behavior
-
'hostnamectl'
: themachine-info(5)
are manipulated by properhostnamectl(1)
calls -
'template'
: the file/etc/machine-info
is filled with the contents of a template
-
-
allowed values:
'hostnamectl'
,'template'
-
default:
'hostnamectl'
manage_sysusers_dir
-
abstract: whether to manage
/etc/sysusers.d/
-
behavior
-
true
: ensures the directory/etc/sysusers.d/
is present and does not contain any unmanaged files -
false
: do not do anything related tosysusers.d(5)
-
-
allowed values:
true
andfalse
-
default:
false
etc_network_interfaces_note
-
abstract: whether to place a note in
/etc/network/interfaces
-
behavior
-
true
: place a note into/etc/network/interfaces
determined byetc_network_interfaces_erb
tellinginterfaces(5)
(forifup(8)
/ifdown(8)
) rendered obsolete bysystemd-networkd(8)
-
false
:/etc/network/interfaces
is not touched
-
-
allowed values:
true
andfalse
-
default:
false
etc_network_interfaces_erb
-
abstract: the template used to render the note for
etc_network_interfaces_note
-
allowed values: a non-empty string
-
default:
'systemd/etc_network_interfaces.erb'
manage_sysctl_conf
-
abstract: whether to manage
/etc/sysctl.conf
-
behavior
-
true
: thesysctl.conf(5)
is generated by the templatesysctl_conf_template
(there's no default template!) -
false
: do not managesysctl.conf(5)
-
-
allowed values:
true
andfalse
-
default:
false
manage_sysctl_directory
-
abstract: whether to manage directory
/etc/sysctl.d/
-
behavior
-
true
: there is a directory/etc/sysctl.d/
and it does not contain any unmanaged files -
false
: do not do anything regardingsysctl.d
-
-
allowed values:
true
andfalse
-
default:
false
manage_udev_conf
-
abstract: whether to manage
/etc/udev/udev.conf
-
true
: ensures the contents of/etc/udev/udev.conf
comply with the rendered templateudev_conf_template
-
false
: nothing's done
-
-
allowed values:
true
andfalse
-
default:
false
manage_locale_conf
-
abstract: whether to manage
/etc/locale.conf
-
note: the generation of locales is not (yet) triggered. Configuring systemd to use non-present locales can lead to strange effects.
-
allowed values:
true
andfalse
-
default:
false
locale_conf_provider
-
behavior
-
'localectl'
: manipulation of/etc/locale.conf
is done via alocalectl(1)
call. Apparentlylocalectl(1)
does not create the/etc/locale.conf
resulting in the exec-resource being applied each run. -
'template'
: thelocale.conf(5)
is created by template
-
-
allowed values:
'localectl'
and'template'
-
default:
'template'
manage_localtime
-
abstract: whether to manage
localtime(5)
-
behavior
-
true
: the file/etc/localtime
is managed. see alsolocaltime_provider
andlocaltime
-
false
: nothing happens
-
-
allowed values:
true
andfalse
-
default:
false
localtime_provider
-
abstract: how to manage
/etc/localtime
-
behavior
-
'timedatectl'
: the file/etc/localtime
is managed by systemd's tooltimedatectl(1)
. This is the preferred way, sincetimedatectl(1)
fails, if the linked target does not exist. -
'file'
: the/etc/localtime
is managed as a plainfile
resource. This method might be a tick faster. Specifying a non-existent timezone is not detected.
-
-
note: this class does not manage the
tzdata
package (where the data in/usr/share/zoneinfo/
originate from). It's pretty unlikely though, not having this package via some dependency. -
allowed value:
'timedatectl'
and'file'
-
default:
'timedatectl'
systemd_system_conf_erb
-
abstract: the template used to render a
systemd-system.conf(5)
-
behavior: see
manage_loc_systemd_conf
-
allowed values: any non-empty string
-
default:
'systemd/system_conf.erb'
systemd_journald_conf_erb
-
abstract: the template to use for rendering a
journald.conf(5)
-
behavior: see
manage_loc_journald_conf
-
allowed values: any non-empty string
-
default:
'systemd/journald_conf.erb'
systemd_logind_conf_erb
-
abstract: use this template to render a
logind.conf(5)
-
behavior: see
manage_loc_logind_conf
-
allowed values: any non-empty string
-
default:
'systemd/logind_conf.erb'
systemd_resolved_conf_erb
-
abstract: the template to use rendering a
resolved.conf(5)
-
behavior: see
manage_loc_resolved_conf
-
allowed values: any non-empty string
-
default:
'systemd/resolved_conf.erb'
systemd_timesyncd_conf_erb
-
abstract: the template to use to generate a
timesyncd.conf(5)
-
behavior: see
manage_loc_timesyncd_conf
-
allowed values: any non-empty string
-
default:
'systemd/timesyncd_conf.erb'
systemd_bootchart_conf_erb
-
abstract: the template to use rendering a
bootchart.conf(5)
-
behavior: see
manage_loc_bootchart_conf
-
allowed values: any non-empty string
-
default:
'systemd/bootchart_conf.erb'
systemd_sleep_conf_erb
-
abstract: the template rendering a
sleep.conf
-
behavior: see
manage_loc_sleep_conf
-
allowed values: any non-empty string
-
default:
'systemd/sleep_conf.erb'
sysctl_conf_template
-
abstract: the template to use in order to render a
sysctl.conf(5)
-
behavior: see
manage_sysctl_conf
-
allowed values: any non-empty string or
undef
-
default valued:
undef
(we can't provide a template for the great variety of kernels)
udev_conf_template
-
abstract: the template to generate a
udev.conf(5)
with -
behavior: see
manage_udev_conf
-
allowed values: any non-empty string
-
default:
'systemd/udev_conf.erb'
manager_log_level
-
abstract: see
LogLevel=
insystemd-system.conf
and--log-level=
insystemd(1)
for details -
allowed values:
'emerg'
,'alert'
,'crit'
,'err'
,'warning'
,'notice'
,'info'
,'debug'
,0
,1
,2
,3
,4
,5
,6
,7
, andundef
-
default:
undef
manager_log_target
-
abstract: confer
LogTarget=
insystemd-system.conf
and--log-target=
insystemd(1)
for more details -
allowed values:
'console'
,'journal'
,'kmsg'
,'journal-or-kmsg'
,'null'
andundef
-
default:
undef
manager_log_color
-
abstract: see
LogColor=
insystemd-system.conf
and--log-color=
insystemd(1)
for more details -
allowed values:
true
,false
, andundef
-
default:
undef
manager_log_location
-
abstract: look for
LogLocation=
insystemd-system.conf
and--log-location=
insystemd(1)
for more details -
allowed values:
true
,false
, andundef
-
default value:
undef
manager_dump_core
-
abstract: see for
DumpCore=
insystemd-system.conf(5)
and--dump-core
insystemd(1)
for more information -
behavior:
- This parameter controls the values in
system.conf
if it's managed by this module with the default template. It does not change the kernel command line.
- This parameter controls the values in
-
allowed values:
true
,false
, andundef
-
default:
undef
manager_crash_shell
-
abstract: see
CrashShell=
insystemd-system.conf(5)
and--crash-shell
insystemd(1)
for details -
behavior:
- This parameter controls the values in
system.conf
if it's managed by this module with the default template. It does not change the kernel command line.
- This parameter controls the values in
-
allowed values:
true
,false
, andundef
-
default:
undef
manager_show_status
-
abstract: see
ShowStatus=
insystemd-system.conf(5)
and--show-status=
insystemd(1)
(further cmp.systemd.show_status=
) -
allowed values:
true
,false
, andundef
-
default value:
undef
manager_crash_ch_vt
-
abstract: search for
CrashChangeVT=
insystemd-system.conf
andsystemd.crash_chvt=
insystemd(1)
-
allowed values:
undef
and any integer -
default value:
undef
manager_default_stdout
-
abstract: see
--default-standard-output=
insystemd(1)
-
allowed values:
'inherit'
,'null'
,'tty'
,'journal'
,'journal+console'
,'syslog'
,'syslog+console'
,'kmsg'
,'kmsg+console'
, andundef
-
default:
undef
manager_default_stderr
-
abstract: see
--default-standard-error=
insystemd(1)
-
allowed values:
'inherit'
,'null'
,'tty'
,'journal'
,'journal+console'
,'syslog'
,'syslog+console'
,'kmsg'
,'kmsg+console'
, andundef
-
default value:
undef
manager_cpu_affinity
-
abstract: see
CPUAffinity=
insystemd-system.conf(5)
(for more information seeCPUAffinity=
insystemd.exec(5)
) -
allowed values:
undef
, and an array of non-negative integers with at least one element -
example:
[0, 1]
-
default:
undef
manager_join_controllers
-
abstract: see
JoinControllers=
insystemd-system.conf(5)
-
allowed values:
undef
and temporarily an array of plain strings with at least one element (TODO: shall become a hash with proper named keys) -
default:
undef
manager_runtime_watchdog_sec
-
abstract: see for
RuntimeWatchdogSec=
insystemd-system.conf(5)
-
acceptable values:
undef
and any non-negative integer -
default:
undef
manager_shutdown_watchdog_sec
-
abstract: see
ShutdownWatchdogSec=
insystemd-system.conf(5)
-
allowed values:
undef
and any non-negative integer -
default value:
undef
manager_capability_bound_set
-
abstract: see
CapabilityBoundingSet=
in `systemd-system.conf(5) -
allowed values:
undef
and a properly formed hash: The hash has two keys:['inverted_selection', 'capabilities']
.'inverted_selection'
has to be a boolean values.'capabilities'
has to be an array of capability names holding at least one element. -
example:
{inverted_selection => true, capabilities => ['CAP_SYSLOG']}
-
default:
undef
manager_syscall_architectures
-
abstract: see
SystemCallArchitectures=
insystemd-system.conf(5)
for details -
allowed values:
undef
and an array of containing at least one of'x86'
,'x86-64'
,'x32'
,'arm'
or'native'
-
example:
['x86', 'x86-64', 'arm', 'native']
-
default:
undef
manager_timer_slack_nanosec
-
abstract: see
TimerSlackNSec=
insystemd-system.conf(5)
-
valid values:
undef
and any non-negative integer -
default:
undef
manager_default_timer_accurac
-
abstract: see
DefaultTimerAccuracySec=
insystemd-system.conf(5)
-
possible values:
undef
and any non-negative integer -
default:
undef
manager_default_to_start_sec
-
abstract: see
DefaultTimeoutStartSec=
insystemd-system.conf(5)
-
allowed values:
undef
and any non-negative integer -
default value:
undef
manager_default_to_stop_sec
-
abstract: see
DefaultTimeoutStopSec=
insystemd-system.conf(5)
-
allowed values:
undef
and any non-negative integer -
default:
undef
manager_default_restart_sec
-
abstract: see
DefaultRestartSec=
insystemd-system.conf(5)
-
allowed values:
undef
and any non-negative integer -
default:
undef
manager_default_start_lim_int
-
abstract: see
DefaultStartLimitInterval=
insystemd-system.conf(5)
for more information -
allowed values:
undef
and any non-negative integer -
default value:
undef
manager_default_start_lim_brs
-
abstract: see
DefaultStartLimitBurst=
insystemd-system.conf(5)
-
allowed values:
undef
and any non-negative integer -
default:
undef
manager_default_environment
-
abstract: see
DefaultEnvironment=
insystemd-system.conf(5)
-
behavior
-
the default
system.conf
template uses this parameter -
values containing blanks are automatically surrounded by inch-signs (
"
). do not include them
-
-
allowed values
-
undef
-
a non-empty hash with a non-empty string as key and either a string, a integer (rendered as decimal), or a non-empty array of non-empty strings and/or integers
-
-
example:
{'foo' => 'bar', 'answer' => 42, 'things' => ['X', 'Y', 3], 'flag' => ''}
renders asDefaultEnvironment = foo=bar answer=42 "things=X Y 3" foo=\n
-
default:
undef
manager_default_cpu_acct
-
abstract: see
DefaultCPUAccounting=
insystemd-system.conf(5)
andCPUAccounting=
insystemd.resource-control(5)
for more details -
allowed values:
true
,false
, andundef
-
default:
undef
manager_default_block_io_acct
-
abstract: see
DefaultBlockIOAccounting=
insystemd-system.conf(5)
andBlockIOAccounting=
insystemd.resource-control(5)
for more details -
allowed values:
true
,false
, andundef
-
default:
undef
manager_default_memory_acct
-
abstract: see
DefaultMemoryAccounting=
insystemd-system.conf(5)
andMemoryAccounting=
insystemd.resource-control(5)
for more details -
allowed values:
true
,false
, andundef
-
default:
undef
manager_default_lim_cpu
-
abstract: see
DefaultLimitCPU=
insystemd-system.conf(5)
-
allowed values: a non-negative integer,
'infinity'
, orundef
-
default:
undef
manager_default_lim_fsize
-
abstract: see
DefaultLimitFSIZE=
insystemd-system.conf(5)
-
allowed values: a non-negative integer,
'infinity'
, orundef
-
default:
undef
manager_default_lim_data
-
abstract: see
DefaultLimitDATA=
insystemd-system.conf(5)
-
allowed values: a non-negative integer,
'infinity'
, orundef
-
default:
undef
manager_default_lim_stack
-
abstract: see
DefaultLimitSTACK=
insystemd-system.conf(5)
-
allowed values: a non-negative integer,
'infinity'
, orundef
-
default:
undef
manager_default_lim_core
-
abstract: see
DefaultLimitCORE=
insystemd-system.conf(5)
-
allowed values: a non-negative integer,
'infinity'
, orundef
-
default:
undef
manager_default_lim_rss
-
abstract: see
DefaultLimitRSS=
insystemd-system.conf(5)
-
allowed values: a non-negative integer,
'infinity'
, orundef
-
default:
undef
manager_default_lim_nofile
-
abstract: see
DefaultLimitNOFILE=
insystemd-system.conf(5)
-
allowed values: a non-negative integer, the string
'infinity'
, or the symbolundef
-
default:
undef
manager_default_lim_as
-
abstract: see
DefaultLimitAS=
insystemd-system.conf(5)
-
allowed values: a non-negative integer,
'infinity'
, orundef
-
default:
undef
manager_default_lim_nproc
-
abstract: see
DefaultLimitNPROC=
insystemd-system.conf(5)
-
allowed values: a non-negative integer
'infinity'
, orundef
-
default:
undef
manager_default_lim_memlock
-
abstract: see
DefaultLimitMEMLOCK=
insystemd-system.conf(5)
-
allowed values: a non-negative integer
'infinity'
, orundef
-
default:
undef
manager_default_lim_locks
-
abstract: see
DefaultLimitLOCKS=
insystemd.system.conf(5)
-
allowed values: a non-negative integer
'infinity'
, orundef
-
default:
undef
manager_default_lim_sigpendin
-
abstract: see
DefaultLimitSIGPENDING=
insystemd-system.conf(5)
-
allowed values: a non-negative integer
'infinity'
, orundef
-
default:
undef
manager_default_lim_msgqueue
-
abstract: see
DefaultLimitMSGQUEUE=
insystemd-system.conf(5)
-
allowed values: a non-negative integer
'infinity'
, orundef
-
default:
undef
manager_default_lim_nice
-
abstract: see
DefaultLimitNICE=
insystemd-system.conf(5)
-
allowed values: a non-negative integer
'infinity'
, orundef
-
default:
undef
manager_default_lim_rtprio
-
abstract: see
DefaultLimitRTPRIO=
insystemd-system.conf(5)
-
allowed values: a non-negative integer
'infinity'
, orundef
-
default:
undef
manager_default_lim_rttime
-
abstract: see
DefaultLimitRTTIME=
insystemd-system.conf(5)
-
allowed values: a non-negative integer
'infinity'
, orundef
-
default:
undef
journal_storage
-
abstract: see
Storage=
injournald.conf(5)
-
allowed values:
'volatile'
,'persistent'
,'auto'
,'none'
, andundef
-
default:
undef
journal_compress
-
abstract: see
Compress=
injournald.conf(5)
-
acceptable values:
true
,false
, andundef
-
default:
undef
journal_seal
-
abstract: see
Seal=
injournald.conf(5)
-
allowed values:
true
,false
, andundef
-
default:
undef
journal_split_mode
-
abstract: see
SplitMode=
injournald.conf(5)
-
allowed values:
'uid'
,'login'
,'none'
, andundef
-
default:
undef
journal_rate_limit_interval
-
abstract: see
RateLimitInterval=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_rate_limit_burst
-
abstract: see
RateLimitBurst=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_system_max_use
-
abstract: see
SystemMaxUse=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_system_keep_free
-
abstract: see
SystemKeepFree=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_system_max_file_size
-
abstract: see
SystemMaxFileSize=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_runtime_max_use
-
abstract: see
RuntimeMaxUse=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_runtime_keep_free
-
abstract: see
RuntimeKeepFree=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_runtime_max_file_size
-
abstract: see
RuntimeMaxFileSize=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_max_file_sec
-
abstract: see
MaxFileSec=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_max_retention_sec
-
abstract: see
MaxRetentionSec=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_sync_interval_sec
-
abstract: see
SyncIntervalSec=
injournald.conf(5)
-
allowed values: a non-negative integer, and
undef
-
default:
undef
journal_forward_to_syslog
-
abstract: see
ForwardToSyslog=
injournald.conf(5)
-
allowed values:
true
,false
, andundef
-
default:
undef
journal_forward_to_kmsg
-
abstract: see
ForwardToKMsg=
injournald.conf(5)
-
allowed values:
true
,false
, andundef
-
default:
undef
journal_forward_to_console
-
abstract: confer
ForwardToConsole=
injournald.conf(5)
-
allowed values:
true
,false
, andundef
-
default:
undef
journal_forward_to_wall
-
abstract: see
ForwardToWall=
injournald.conf(5)
-
allowed values:
true
,false
, andundef
-
default:
undef
journal_max_level_store
-
abstract: see
MaxLevelStore=
injournald.conf(5)
-
allowed values:
0
,1
,2
,3
,4
,5
,6
,7
,'emerg'
,'alert'
,'crit'
,'err'
,'warning'
,'notice'
,'info'
,'debug'
, andundef
-
default:
undef
journal_max_level_syslog
-
abstract: see
MaxLevelSyslog=
injournald.conf(5)
-
allowed values: as for as
MaxLevelStore=
-
default:
undef
journal_max_level_kmsg
-
abstract: see
MaxLevelKMsg=
injournald.conf(5)
-
allowed values: same as for
MaxLevelStore=
-
default:
undef
journal_max_level_console
-
abstract: see
MaxLevelConsole=
injournald.conf(5)
-
allowed values: confer
MaxLevelStore=
-
default:
undef
journal_max_level_wall
-
abstract: see
MaxLevelWall=
injournald.conf(5)
-
allowed values: cmp.
MaxLevelStore=
-
default:
undef
journal_tty_path
-
abstract: see
TTYPath=
injournald.conf(5)
-
allowed values: an absolute path, or
undef
-
default:
undef
login_n_auto_vts
-
abstract: see
NAutoVTs=
inlogind.conf(5)
-
allowed values: a non-negative integer, or
undef
-
default:
undef
login_reserve_vt
-
abstract: see
ReserveVT=
inlogind.conf(5)
-
allowed values: a non-negative integer, or
undef
-
default:
undef
login_kill_user_processes
-
abstract: see
KillUserProcesses=
inlogind.conf(5)
-
allowed values:
true
,false
, orundef
-
default:
undef
login_kill_only_users
-
abstract: limit the contract killer's subjects. See
KillOnlyUsers=
inlogind.conf(5)
for more about the contract killers modalities. -
allowed values:
undef
, a non-empty array of strings (w/o blanks but at least one character), or['']
-
example:
undef
(KillOnlyUsers=
is checked afterKillExcludeUsers=
) -
default:
undef
login_kill_exclude_users
-
abstract: see
KillExcludeUsers=
inlogind.conf(5)
-
allowed values:
undef
, an array with an empty string, or a non-empty array of non-empty strings -
examples:
['root', 'someOtherImportantUser']
(processes byroot
andsomeOtherImportantUser
aren't killed),['']
(evenroot
gets killed) -
default:
undef
login_idle_action
-
abstract: see
IdleAction=
inlogind.conf(5)
-
acceptable values:
'ignore'
,'poweroff'
,'reboot'
,'halt'
,'kexec'
,'suspend'
,'hibernate'
,'hybrid-sleep'
,'lock'
, orundef
-
default:
undef
login_idle_action_sec
-
abstract: see
IdleActionSec=
inlogind.conf(5)
-
allowed values:
undef
, or a non-negative integer -
default:
undef
login_inhibit_delay_max_sec
-
abstract: see
InhibitDelayMaxSec=
inlogind.conf(5)
-
allowed values:
undef
, or a non-negative integer -
default:
undef
login_handle_power_key
-
abstract: see
HandlePowerKey=
inlogind.conf(5)
-
allowed values:
'ignore'
,'poweroff'
,'reboot'
,'halt'
,'kexec'
,'suspend'
,'hibernate'
,'hybrid-sleep'
,'lock'
, orundef
-
default:
undef
login_handle_suspend_key
-
abstract: see
HandleSuspendKey=
inlogind.conf(5)
-
acceptable values:
'ignore'
,'poweroff'
,'reboot'
,'halt'
,'kexec'
,'suspend'
,'hibernate'
, 'hybrid-sleep'
,'lock'
, orundef
-
default
login_handle_hibernate_key
-
abstract: see
HandleHibernateKey=
inlogind.conf(5)
-
allowed values:
'poweroff'
,'reboot'
,'halt'
,'kexec'
,'suspend'
,'hibernate'
,'hybrid-sleep'
,'lock'
, orundef
-
default value:
undef
login_handle_lid_sw
-
abstract: see
HandleLidSwitch=
injournald.conf
-
allowed values:
'ignore'
,'poweroff'
,'reboot'
,'halt'
,'kexec'
,'suspend'
,'hibernate'
,'hybrid-sleep'
,'lock'
, orundef
-
default:
undef
login_handle_lid_sw_docked
-
abstract: see
HandleLidSwitchDocked=
injournald.conf
-
allowed values:
'ignore'
,'poweroff'
,'reboot'
,'halt'
,'kexec'
,'suspend'
,'hibernate'
,'hybrid-sleep'
,'lock'
, orundef
-
default:
undef
login_power_key_ign_inhib
-
abstract: see
PowerKeyIgnoreInhibited=
inlogind.conf(5)
-
allowed values:
true
,false
, andundef
-
default:
undef
login_suspend_key_ign_inhib
-
abstract: see
SuspendKeyIgnoreInhibited=
inlogind.conf(5)
-
allowed values:
true
,false
,undef
-
default:
undef
login_hibernate_key_ign_inhib
-
abstract: see
HibernateKeyIgnoreInhibited=
inlogind.conf(5)
-
acceptable values:
true
,false
,undef
-
default:
undef
login_lid_switch_ign_inhib
-
abstract: see
LidSwitchIgnoreInhibited=
inlogind.conf(5)
-
allowed values:
true
,false
, orundef
-
default:
undef
login_holdoff_timeout_sec
-
abstract: see
HoldoffTimeoutSec=
injournald.conf(5)
-
allowed values: a non-negative integer, or
undef
-
default value:
undef
login_runtime_directory_size
-
abstract: corresponds to the
RuntimeDirectorySize
setting injournald.conf(5)
-
example:
login_runtime_directory_size => Integer($::facts['memory']['system']['available_bytes'] * 0.08)
-
valid values:
undef
and any non-negative integer -
default:
undef
login_remove_ipc
-
abstract: see
RemoveIPC=
injournald.conf(5)
-
allowed values:
true
,false
, orundef
-
default:
undef
resolve_dns
-
abstract: see
DNS=
inresolved.conf(5)
-
allowed values:
undef
, or an array. The array can contain arrays of four integers between0
and255
, or eight integers0x0
and0xFFFF
. -
example:
[[10,1,2,240], [10,2,2,240]]
-
default:
undef
resolve_fallback_dns
-
abstract: see
FallbackDNS=
inresolved.conf(5)
-
allowed values: as for
resolve_dns
-
example:
[[8,8,8,8], [8,8,4,4]]
-
default:
undef
resolve_domains
-
abstract: see
Domains=
inresolved.conf(5)
-
allowed values:
undef
, or a non-empty array of non-empty strings containing no blanks -
example:
['acmenet']
-
default:
undef
resolve_llmnr
-
abstract: see
LLMNR=
inresolved.conf(5)
-
allowed values:
true
,false
,'resolve'
, orundef
-
default:
undef
resolve_dnssec
-
abstract: see
DNSSEC=
inresolved.conf(5)
-
allowed values:
true
,false
,'allow-downgrade'
, orundef
-
default:
undef
resolve_cache
-
abstract: see
Cache=
inresolved.conf(5)
-
allowed values:
true
,false
, orundef
-
default:
undef
time_ntp
-
abstract: see
NTP=
intimesyncd.conf(5)
-
allowed values:
undef
, or an array. The array can contain non-empty strings, array of four integers between0
and255
, or an array of eight integers between0x0
and0xFFFF
-
example:
['ntp.acmenet']
-
default:
undef
time_fallback_ntp
-
abstract: see
FallbackNTP=
intimesyncd.conf(5)
-
allowed values: same as for
time_ntp
-
example:
['time4.google.com', 'time2.google.com', 'time3.google.com', 'time1.google.com']
-
default:
undef
sleep_suspend_mode
-
abstract: see
SuspendMode=
insystemd-sleep.conf(5)
-
allowed values:
undef
, or an array of strings -
default:
undef
sleep_hibernate_mode
-
abstract: see
HibernateMode=
insystemd-sleep.conf(5)
-
allowed values:
undef
, or an array of strings -
default:
undef
sleep_hybrid_sleep_mode
-
abstract: see
HybridSleepMode=
insystemd-sleep.conf(5)
-
allowed values:
undef
, or an array of strings -
default:
undef
sleep_suspend_state
-
abstract: see
SuspendState=
insystemd-sleep.conf(5)
-
allowed values:
undef
, or an array of strings -
example:
['freeze']
-
default:
undef
sleep_hibernate_state
-
abstract: see
HibernateState=
insystemd-sleep.conf(5)
-
allowed values:
undef
, or an array of strings -
default:
undef
sleep_hybrid_sleep_state
-
abstract: see
HybridSleepState=
insystemd-sleep.conf(5)
-
acceptable values:
undef
, or an array of strings -
default:
undef
bootchart_samples
-
abstract: see
Samples=
inbootchart.conf(5)
-
allowed values: non-negative integers, or
undef
-
default:
undef
bootchart_frequency
-
abstract: see
Frequency=
inbootchart.conf(5)
-
allowed values: a positive integer or float, and
undef
-
default:
undef
bootchart_relative
-
abstract: see
Relative=
inbootchart.conf(5)
-
allowed values:
true
,false
, orundef
-
default:
undef
bootchart_filter
-
abstract: see
Filter=
inbootchart.conf(5)
-
allowed values:
true
,false
, orundef
-
default:
undef
bootchart_output
-
abstract: see
Output=
inbootchart.conf(5)
-
allowed values:
undef
, or an absolute path (no spaces) -
default:
undef
bootchart_init
-
abstract: see
Init=
inbootchart.conf(5)
for details -
allowed values:
undef
, or an absolute path (no spaces) -
default:
undef
bootchart_plot_memory_usage
-
abstract: see
PlotMemoryUsage=
inbootchart.conf(5)
-
allowed values:
true
,false
, orundef
-
default:
undef
bootchart_plot_entropy_graph
-
abstract: see
PlotEntropyGraph=
inbootchart.conf(5)
-
acceptable values:
true
,false
, andundef
-
default:
undef
bootchart_scale_x
-
abstract: see
ScaleX=
inbootchart.conf(5)
-
allowed values: a positive integer, and
undef
-
default:
undef
bootchart_scale_y
-
abstract: see
ScaleY=
inbootchart.conf(5)
-
allowed values: a positive integer, and
undef
-
default:
undef
bootchart_control_group
-
abstract: see
ControlGroup=
inbootchart.conf(5)
-
allowed values:
true
,false
, orundef
-
default:
undef
bootchart_per_cpu
-
abstract: see
PerCPU=
inbootchart.conf(5)
-
allowed values:
false
,true
, andundef
-
default:
undef
machine_info_pretty_hostname
-
abstract: see
PRETTY_HOSTNAME=
inmachine-info(5)
-
allowed values:
undef
,default
, or a non-empty string without blanks -
default:
undef
machine_info_icon_name
-
abstract: see
ICON_NAME=
inmachine-info(5)
-
allowed values:
undef
,default
, or a non-empty string without blank characters -
default:
undef
machine_info_chassis
-
abstract: see
CHASSIS=
inmachine-info(5)
-
allowed values:
undef
,default
,'desktop'
,'laptop'
,'tablet'
,'handset'
,'watch'
,'embedded'
,'vm'
,'container'
,'server'
-
default:
undef
machine_info_deployment
-
abstract: see
DEPLOYMENT=
inmachine-info(5)
-
allowed values:
undef
,default
, or an ASCII word -
default:
undef
machine_info_location
-
abstract: see
LOCATION=
inmachine-info(5)
-
allowed values:
undef
,default
, or a one line string -
default:
undef
locale_conf_lang
-
abstract: sets
LANG=
inlocale.conf(5)
-
allowed values:
undef
, or an ASCII word (possibly including underscores, dots, and dashes) -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_language
-
abstract: sets
LANGUAGE=
inlocale.conf(5)
-
allowed values:
undef
, or locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_ctype
-
abstract: sets
LC_CTYPE=
inlocale.conf(5)
-
allowed values:
undef
, or a name of a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_numeric
-
abstract: sets
LC_NUMERIC=
inlocale.conf(5)
-
allowed values:
undef
, or a name of a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_time
-
abstract: sets
LC_TIME=
inlocale.conf(5)
-
allowed values:
undef
, or a name of a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_collate
-
abstract: sets
LC_COLLATE=
inlocale.conf(5)
-
allowed values:
undef
, or a name of a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_monetary
-
abstract: sets
LC_MONETARY=
inlocale.conf(5)
-
allowed values:
undef
, or a name of a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_messages
-
abstract: sets
LC_MESSAGES=
inlocale.conf(5)
-
allowed values:
undef
, or a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_paper
-
abstract: sets
LC_PAPER=
inlocale.conf(5)
-
allowed values:
undef
, or a locale as string -
example:
'de_DE.UTF-8'
-
default:
undef
locale_conf_lc_name
-
abstract: sets
LC_NAME=
inlocale.conf(5)
-
allowed values:
undef
, or a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_address
-
abstract: sets
LC_ADDRESS=
inlocale.conf(5)
-
allowed values:
undef
, or a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
locale_conf_lc_telephone
-
abstract: sets
LC_TELEPHONE=
inlocale.conf(5)
-
allowed values:
undef
, or a locale as string -
example:
'de_DE.UTF-8'
-
default:
undef
locale_conf_lc_measurement
-
abstract: sets
LC_MEASUREMENT=
inlocale.conf(5)
-
allowed values:
undef
, or a locale as string -
example:
'de_DE.UTF-8'
-
default:
undef
locale_conf_lc_identification
-
abstract: sets
LC_IDENTIFICATION=
inlocale.conf(5)
-
allowed values:
undef
, or a locale as string -
example:
'en_US.UTF-8'
-
default:
undef
localtime
-
abstract: the timezone name for
localtime(5)
-
behavior:
-
undef
: ifmanage_localtime
istrue
, the related resources fail. Otherwise nothing happens. -
a string: if
manage_localtime
is enabled, the/etc/localtime
link's target is set to/usr/share/zoneinfo/${localtime}
.
-
-
allowed values:
undef
or a non-empty string of the ASCII characters in[a-zA-Z0-9+-_/]
. The string must not end on a slash. -
example:
'UTC'
(recommended, setTZ="Europe/Berlin"
[or whatever] viapam_env.so
for uid > 999) -
default value:
'UTC'
udev_conf_udev_log
-
abstract: see
udev_log
inudev.conf(5)
-
allowed values:
'err'
,'info'
,'debug'
, a non-negative integer smaller than eight, andundef
-
default:
undef
Types
systemd::unit
systemd::preset
systemd-networkd(8)
systemd-tmpfiles(8)
systemd-modules-load(8)
systemd-sysctl.service(8)
systemd-sysusers(8)
You can use any of those types,
without having to use my Class['systemd']
.
So you can manage your systemd
somehow else,
or not at all.
However, defined types,
which end up in creating unit files,
should be reloaded with systemctl daemon-reload
.
You can use collect_systemd_resources
from the systemd class for this.
systemd::unit
Limitations:
- Currently you cannot sort
Condition*=
/Assert*=
statements (plural!). See the proper section insystemd.unit(5)
what implications this has.
ensure
-
abstract: What to do with this resource.
-
value behaviors:
-
undef
disables any management of any child resource. Only compilation has to succeed. -
default
automatically determines the default$ensure
, which is'present'
. -
'absent'
ensures the unit file is absent. -
'present'
ensures the unit file is present and filled with proper content.
-
-
accepted values:
undef
,default
,'absent'
,'present'
-
default value:
default
path
-
abstract: Where to place the unit file.
-
value behaviors:
-
default
determines the path by using$title
. For that$title
may not contain spaces or slashes. The proper unit type suffix.unit
is automatically appended. -
a string: the unit file gets placed at the specified path. The directories for
manage_conf_dir
,manage_wants_dir
, andmanage_requires_dir
are placed accordingly.
-
-
accepted values:
default
, and an absolute path, not containing any spaces, and not ending on a slash -
default:
default
mode
-
abstract: The file mode of regular files.
-
value behaviors:
-
default
loads$systemd::params::systemd_unit_default_mode
(which is0644
) -
undef
passesundef
asmode
to regular file resources
-
-
accepted values:
undef
,default
, and any string of positive length -
default value:
default
owner
-
abstract: The owner of regular files.
-
value behaviors:
default
loads$systemd::params::systemd_unit_default_owner
By now it is'root'
on some platforms and falls back to uid0
for any other.
-
accepted values:
undef
,default
, non-negative integers, and any string of positive length -
default value:
default
group
-
abstract: The group of regular files.
-
value behaviours:
default
loads$systemd::params::systemd_unit_default_group
. This value may be OS-specific. Currently known are'root'
and'wheel'
for some platforms. It falls back to uid0
for unknown platforms.
-
accepted values:
undef
,default
, non-negative integers, and any string of positive length -
default value:
default
content_template
-
abstract: the
*.erb
template to use, in order to render the*.unit
file -
behavior:
-
default
: the proper default template is loaded -
a non-empty string: your specified template is used
-
-
allowed values:
default
, or a non-empty string -
default value:
default
validate_cmd
-
abstract: This is a pass-through to all (by the defined type) managed unit files.
-
value behaviors:
-
default
: Loads the default$systemd::params::systemd_unit_validate_cmd
, which currently is/usr/bin/systemd-analyze verify %
. -
undef
: do not perform any validation -
any non-empty string: validate with the specified command
-
-
Note:
systemd-analyze verify
checks for dependencies, too. You have to add proper ordering to your resource declarations to make validation succeed. There are also implicit dependencies and default dependencies. You have to take extra care, if your unit depends on a generated unit (comparesystemd.generator(7)
). -
recommendation: if you work with multiple
systemd
versions, set this parameter (possibly using a resource defaults statement) todefault
(or other reasonable string) -
accepted values:
undef
,default
, and any string of positive length -
default:
undef
validate_replacement
-
This is direct pass-through to all (by the defined type) managed file resources.
-
accepted values:
undef
, and any string of positive length -
default:
undef
checksum
-
abstract: this is passed through to all child
file
resources -
allowed values:
undef
,'md5'
,'md5lite'
,'sha256'
,'sha256lite'
,'mtime'
,'ctime'
,'none'
-
default:
undef
show_diff
-
direct pass-through to all files
-
accepted values:
undef
,true
andfalse
-
default value:
undef
backup
-
direct pass-through to all files
-
allowed values:
undef
,true
,false
, and any string -
default value:
undef
blame
-
abstract: attributes blame in the standard template
-
behavior: puts this value in the line starting with
# auth:
(author) -
allowed values: a string
-
default:
$systemd::params::systemd_unit_default_owner
manage_wants_dir
-
abstract: whether the
<unit_name>.wants/
directory is managed -
behavior
-
false
: do not care about<unit_name>.wants/
directory -
true
: thefile
resource with the.wants
suffix is managed
-
-
acceptable values:
true
,false
-
default:
false
wants_dir_mode
-
abstract: what file mode the
.wants/
directory has (ifmanage_wants_dir
) -
allowed values:
undef
, a non-empty string, ordefault
-
default:
default
wants_dir_owner
-
abstract: the owner of the
.wants/
directory (ifmanage_wants_dir
) -
allowed values:
undef
, a non-negative integer, a non-empty string, ordefault
-
default value:
default
wants_dir_group
-
abstract: the owning group of the
.wants/
directory (ifmanage_wants_dir
) -
allowed values:
undef
, a non-negative integer, a non-empty string, ordefault
-
default value:
default
wants_dir_complete_control
-
abstract: only explicit
file
resources residing in the.wants/
directory are allowed -
behavior:
-
false
: ignore files in the.wants/
directory, which aren't managed by puppet -
true
:recurse
andpurge
withforce
(only has an effect ifmanage_wants_dir
)
-
-
acceptable value:
false
,true
-
default:
false
manage_requires_dir
-
abstract: whether to manage the
<unit_name>.requires/
directory -
behavior
-
false
: the absence or presence of the.requires/
directory, or anything in it, is ignored -
true
: the.requires/
directory is present (or absent depending onensure
)
-
-
acceptable values:
true
,false
-
default:
false
requires_dir_mode
-
abstract: the directory mode of the
.requires/
directory (if managed and present) -
allowed values:
undef
, a non-empty string, ordefault
-
default:
default
requires_dir_owner
-
abstract: the owner of the
.requires/
directory, if managed -
allowed values:
undef
, a non-negative integer, a non-empty string, ordefault
-
default:
default
requires_dir_group
-
abstract: the group of the
.requires/
directory, if managed -
allowed values:
undef
, a non-negative integer, a non-empty string, ordefault
-
default:
default
requires_dir_complete_control
-
abstract: only
file
resources explicitely managed by puppet inside the.requires/
directory -
behavior
-
false
: unmanaged files in the.requires/
directory are not deleted (unlessmanage_requires_dir
andensure
is'absent'
) -
true
: unmanaged files in the.requires/
directory are deleted
-
-
allowed values:
true
, orfalse
-
default:
false
manage_conf_dir
-
abstract: whether to manage the
<unit_name>.d/
directory -
behavior
-
true
: the.d/
directory presence depends onensure
-
false
: do not care about the.d/
directory
-
-
allowed values: yea (
true
), or nay (false
) -
default:
false
conf_dir_mode
-
abstract: the
.d/
directory's file mode (if managed by this resource) -
allowed values:
undef
, a non-empty string, ordefault
-
default value:
default
conf_dir_owner
-
abstract: the owner of the
.d/
directory -
allowed values:
undef
, a non-negative integer, a non-empty string,default
-
default value:
default
conf_dir_group
-
abstract: the group of the
.d/
directory -
behavior
-
undef
: no explicit group assigned -
default
: the default group is loaded. This is'root'
on debian-like systems. It is'wheel'
on FreeBSD-like systems. Otherwise0
(zero). -
any other literal: the group you specified is enforced
-
-
allowed values:
undef
, a non-negative integer, a non-empty string, ordefault
-
default value:
default
conf_dir_complete_control
-
abstract: whether to take care of unmanaged files/directories inside the
.d/
directory -
allowed values:
false
,true
-
default:
false
unit_description
-
abstract: see
Description=
insystemd.unit(5)
-
allowed values:
undef
, or a string -
example:
'anchor point for things'
-
default:
undef
unit_documentation
-
abstract: see
Documentation=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, starting withhttp://
,https://
,file:
,info:
,man:
. These strings require at least one non-blank character after the file specifier. Also the empty string''
is allowed. -
example:
['https://wiki.acme.lan/wiki/DocumentedThing']
-
default:
undef
unit_requires
-
abstract: see
Requires=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, which do not contain any spaces -
example:
['data.mount']
-
default:
undef
unit_requires_overridable
-
abstract: see
RequiresOverridable=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, having no spaces -
example:
['delay.timer']
-
default:
undef
unit_requisite
-
abstract: see
Requisite=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, without spaces -
default:
undef
unit_requisite_overridable
-
abstract: see
RequisiteOverridable=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings holding no spaces -
default:
undef
unit_wants
-
abstract: see
Wants=
insystemd.unit(5)
-
allowed values: a non-empty array of strings not bearing any spaces, or
undef
-
default:
undef
unit_binds_to
-
abstract: see
BindsTo=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, containing no spaces -
default:
undef
unit_part_of
-
abstract: see
PartOf=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, which do not contain spaces -
default value:
undef
unit_conflicts
-
abstract: see
Conflicts=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, which do not contain any spaces -
example:
['init.service']
-
default:
undef
unit_before
-
abstract: see
Before=
insystemd.unit(5)
-
acceptable values:
undef
, or a non-empty array of strings having no spaces -
default:
undef
unit_after
-
abstract: see
After=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, which don't contain spaces -
default:
undef
unit_on_failure
-
abstract: see
OnFailure=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings (no spaces) -
default:
undef
unit_propagates_reload_to
-
abstract: see
PropagatesReloadTo=
insystemd.unit(5)
-
allowed values:
undef
or a non-empty array of strings consisting of non-space characters -
default:
undef
unit_reload_propagated_from
-
abstract: see
ReloadPropagatedFrom=
insystemd.unit(5)
-
allowed values: a non-empty array of strings, which do not contain spaces, or just
undef
-
default:
undef
unit_joins_namespace_of
-
abstract: see
JoinsNamespaceOf=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, which don't contain spaces -
default:
undef
unit_requires_mount_for
-
abstract: see
RequiresMountsFor=
insystemd.unit(5)
-
allowed values:
undef
, or a non-empty array of strings, not containing any spaces -
default:
undef
unit_on_failure_job_mode
-
abstract: see
OnFailureJobMode=
insystemd.unit(5)
-
allowed values:
'fail'
,'replace'
,'replace-irreversibly'
,'isolate'
,'flush'
,'ignore-dependencies'
,'ignore-requirements'
, andundef
-
default:
undef
unit_ignore_on_isolate
-
abstract: see
IgnoreOnIsolate=
insystemd.unit(5)
-
allowed values:
false
,true
,undef
-
default:
undef
unit_ignore_on_snapshot
-
abstract: see
IgnoreOnSnapshot=
insystemd.unit(5)
-
allowed values:
false
,true
, andundef
-
default:
undef
unit_stop_when_unneeded
-
abstract: see
StopWhenUnneeded=
insystemd.unit(5)
-
allowed values:
false
,true
,undef
-
default:
undef
unit_refuse_manual_start
-
abstract: see
RefuseManualStart=
insystemd.unit(5)
-
allowed values:
false
,true
, orundef
-
default:
undef
unit_refuse_manual_stop
-
abstract: see
RefuseManualStop=
insystemd.unit(5)
-
allowed values:
false
,true
,undef
-
default:
undef
unit_allow_isolate
-
abstract: see
AllowIsolate=
insystemd.unit(5)
-
allowed values:
false
,true
,undef
-
default value:
undef
unit_default_dependencies
-
abstract: see
DefaultDependencies=
insystemd.unit(5)
-
allowed values:
false
,true
,undef
-
default:
undef
unit_job_timeout_sec
-
abstract: see
JobTimeoutSec=
insystemd.unit(5)
-
allowed values: a non-negative integer, or
undef
-
default:
undef
unit_job_timeout_action
-
abstract: see
JobTimeoutAction=
insystemd.unit(5)
-
allowed values:
'none'
,'reboot'
,'reboot-force'
,'reboot-immediate'
,'poweroff'
,'poweroff-force'
,'poweroff-immediate'
, andundef
-
default:
undef
unit_job_timeout_reboot_arg
-
abstract: see
JobTimeoutRebootArgument=
insystemd.unit(5)
-
allowed values: a non-empty string, or
undef
-
default:
undef
unit_condition_architecture
-
abstract: see
ConditionArchitecture=
insystemd.unit(5)
for details -
allowed values: a condition string, as described for
ConditionArchitecture=
insystemd.unit(5)
, orundef
-
example:
'|?sparc64'
-
default:
undef
unit_condition_virtualization
-
abstract: see
ConditionVirtualization=
insystemd.unit(5)
for details -
allowed values: a condition string, as described for
ConditionVirtualization=
insystemd.unit(5)
, orundef
-
example:
'!systemd-nspawn'
-
default:
undef
unit_condition_host
-
abstract: see
ConditionHost=
insystemd.unit(5)
-
allowed values: a condition string as described for
ConditionHost=
insystemd.unit(5)
-
example:
'!backupsrv0*'
-
default:
undef
unit_condition_kernel_cmdline
-
abstract: see
ConditionKernelCommandLine=
insystemd.unit(5)
-
allowed values: a condition string as described for
ConditionKernelCommandLine=
insystemd.unit(5)
, orundef
-
example:
'|vga'
-
default:
undef
unit_condition_security
-
abstract: see
ConditionSecurity=
insystemd.unit(5)
-
allowed values: a conditon string as described for
ConditionSecurity=
insystemd.unit(5)
, orundef
-
example:
'|!audit'
-
default:
undef
unit_condition_capability
-
abstract: see
ConditionCapability=
insystemd.unit(5)
-
allowed values: a condition string as described for
ConditionCapability=
insystemd.unit(5)
, orundef
-
example:
'CAP_SYS_ADMIN'
-
default:
undef
unit_condition_ac_power
-
abstract: see
ConditionACPower=
insystemd.unit(5)
-
allowed values:
false
,true
, andundef
-
example:
true
-
default value:
undef
unit_condition_needs_update
-
abstract: see
ConditionNeedsUpdate=
insystemd.unit(5)
-
allowed values: a condition string as described at
ConditionNeedsUpdate=
insystemd.unit(5)
, andundef
-
example:
'/etc'
-
default value:
undef
unit_condition_first_boot
-
abstract: see
ConditionFirstBoot=
insystemd.unit(5)
-
allowed values:
false
,true
,undef
-
default:
undef
unit_condition_path_exists
-
abstract: see
ConditionPathExists=
insystemd.unit(5)
-
allowed values: a condition string containing an absolute path, or
undef
-
default:
undef
unit_condition_path_exists_gl
-
abstract: see
ConditionPathExistsGlob=
insystemd.unit(5)
-
allowed values: a condition string having an absolute path, or
undef
-
default:
undef
unit_condition_path_is_dir
-
abstract: see
ConditionPathIsDirectory=
insystemd.unit(5)
-
allowed values: a condition string containing an absolute path, or
undef
-
default:
undef
unit_condition_path_is_syml
-
abstract: see
ConditionPathIsSymbolicLink=
insystemd.unit(5)
-
allowed values: a condition string containing an absolute path, or
undef
-
default:
undef
unit_condition_path_is_mntpt
-
abstract: see
ConditionPathIsMountPoint=
insystemd.unit(5)
-
allowed values: a condition string containing an absolute path, or
undef
-
default:
undef
unit_condition_path_is_rw
-
abstract: see
ConditionPathIsReadWrite=
insystemd.unit(5)
-
allowed values: a condition string containing an absolute path, or
undef
-
default:
undef
unit_condition_dir_not_empty
-
abstract: see
ConditionDirectoryNotEmpty=
insystemd.unit(5)
-
allowed values: a condition string containing an absolute path, or
undef
-
default:
undef
unit_condition_file_not_empty
-
abstract: see
ConditionFileNotEmpty=
insystemd.unit(5)
-
allowed values: a condition string containing an absolute path, or
undef
-
default:
undef
unit_condition_file_is_exec
-
abstract: see
ConditionFileIsExecutable=
insystemd.unit(5)
-
allowed values: a condition string containing an absolute path, or
undef
-
default:
undef
unit_assert_architecture
-
abstract: see
AssertArchitecture=
insystemd.unit(5)
-
allowed values: the same as for
unit_condition_architecture
-
default:
undef
unit_assert_virtualization
-
abstract: see
AssertVirtualization=
insystemd.unit(5)
-
allowed values: the same as for
unit_condition_virtualization
-
default:
undef
unit_assert_host
-
abstract: see
AssertHost=
insystemd.unit(5)
-
allowed values: the same as for
unit_condition_host
-
default:
undef
unit_assert_kernel_cmdline
-
abstract: see
AssertKernelCommandLine=
insystemd.unit(5)
-
allowed values: the same as for
unit_condition_kernel_cmdline
-
default:
undef
unit_assert_security
-
abstract: see
AssertSecurity=
insystemd.unit(5)
-
allowed values: the same as for
unit_condition_security
-
default value:
undef
unit_assert_capability
-
abstract: see
AssertCapability=
insystemd.unit(5)
-
allowed values: the same as for
unit_condition_capability
-
default value:
undef
unit_assert_ac_power
-
abstract: see
AssertACPower=
insystemd.unit(5)
-
allowed values: the same as for
unit_condition_ac_power
-
default value:
undef
unit_assert_needs_update
- abstract: see
AssertNeedsUpdate=
insystemd.unit(5)
2017-18-19 Kai Burghardt wiz@KaiBurghardt.de
* initial public release
* completed documentation (quantity; now it's gotta gain quality)
All rights reserved. Indirect commercial usage granted.