Defined Type: systemd::override
- Defined in:
- modules/systemd/manifests/override.pp
Summary
helper resource to create systemd service overridesOverview
SPDX-License-Identifier: Apache-2.0
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'modules/systemd/manifests/override.pp', line 7
define systemd::override (
String[1] $unit,
Optional[String[1]] $content = undef,
Optional[Stdlib::Filesource] $source = undef,
Wmflib::Ensure $ensure = present,
Boolean $restart = false,
) {
systemd::unit { "${unit}-${title}":
override_filename => $title,
override => true,
* => wmflib::resource::dump_params(),
}
}
|