This module installs, configures and starts mcelog.
Module has been tested on:
- Puppet 3.8
- RHEL/CentOS 6,7 and Debian 7,8
Required modules:
- stdlib (https://github.com/puppetlabs/puppetlabs-stdlib)
- inifile (https://github.com/puppetlabs/puppetlabs-inifile)
Setup
include mcelog
Full configuration options:
class { 'mcelog':
ensure => present|absent # ensure state
packages => [...], # override list of packages to install
settings => {...}, # hash of hashes to apply in mcelog.conf
config_fn => '...' # absolute path for mcelog.conf
services => [...], # override list of services to start
}
Example:
class { 'mcelog':
settings => {
'' => { 'raw' => 'yes' }, # main section
'dimm' => { 'dmi-prepopulate' => 'yes' },
},
}
CERIT Scientific Cloud, [email protected]