Puppet Class: toil::systemd_scope_cleanup

Defined in:
modules/toil/manifests/systemd_scope_cleanup.pp

Overview

Parameters:

  • ensure (Wmflib::Ensure) (defaults to: 'present')


4
5
6
7
8
9
10
11
12
13
# File 'modules/toil/manifests/systemd_scope_cleanup.pp', line 4

class toil::systemd_scope_cleanup (
    Wmflib::Ensure $ensure = 'present',
) {
    cron { 'systemd_scope_cleanup':
        ensure  => $ensure,
        minute  => fqdn_rand(59, "toil_${title}"),
        hour    => '*',
        command => 'systemctl reset-failed \*.scope',
    }
}