Puppet Class: needrestart::config

Defined in:
manifests/config.pp

Overview

class to configure needrestart

Parameters:

  • config_overrides (Hash)
    • Hash of configuration overrides



5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/config.pp', line 5

class needrestart::config (
  Hash $config_overrides
) {
  file { '/etc/needrestart/conf.d/overrides.conf':
    owner   => 'root',
    group   => 'root',
    mode    => '0644',
    content => epp('needrestart/overrides.conf', { 'configs' => $config_overrides }),
    require => [File['/etc/needrestart/conf.d/'],Class['needrestart::install']],
  }
}