Puppet Class: profile::auto_restarts

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

Overview

Class: base::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'))


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

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',
    }
}