Puppet Class: base::auto_restarts

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

Overview

Class: base::restarts

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



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# File 'modules/base/manifests/auto_restarts.pp', line 6

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

    file { '/etc/debdeploy-client/autorestarts.conf':
        ensure => present,
        owner  => 'root',
        group  => 'root',
        mode   => '0544',
    }
}