Puppet Class: profile::auto_restarts

Defined in:
modules/profile/manifests/auto_restarts.pp

Overview

SPDX-License-Identifier: Apache-2.0

Class: profile::auto_restarts

This class automates service restarts for stateless services after a library upgrade.

Parameters:

  • with_debdeploy (Boolean) (defaults to: lookup('profile::auto_restarts::with_debdeploy'))


7
8
9
10
11
12
13
14
15
16
17
# File 'modules/profile/manifests/auto_restarts.pp', line 7

class profile::auto_restarts(
    Boolean $with_debdeploy = lookup('profile::auto_restarts::with_debdeploy'),
) {
    file { '/usr/local/sbin/wmf-auto-restart':
        ensure => present,
        source => 'puppet:///modules/base/wmf-auto-restart.py',
        owner  => 'root',
        group  => 'root',
        mode   => '0555',
    }
}