mcelog
Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
- Puppet >= 5.0.0 < 7.0.0
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'treydock-mcelog', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-module-mcelog
- Overview
- Usage - Configuration options
- Reference - Parameter and detailed reference to all options
- Compatibility
- Development - Guide for contributing to the module
Overview
This is a puppet module for the installation and configuration of the
mcelog
utility. Which can be used either from the
cli or run as a daemon that extracts and decodes Machine Check Exception
(MCE) data.
Usage
To install mcelog
and start service.
include ::mcelog
Example of configuring mcelog.conf
via settings
Hash.
class { '::mcelog':
settings => {
'' => {
'filter' => 'yes',
},
'server' => {
'client-user' => 'root',
},
},
}
Example of what Hiera data would look like for settings:
mcelog::settings:
'':
filter: 'yes'
server:
client-user: 'root'
Reference
http://treydock.github.io/puppet-module-mcelog/
Compatibility
Tested using
- CentOS 6
- CentOS 7
Reference
Table of Contents
Classes
Public Classes
mcelog
: Manage mcelog
Private Classes
mcelog::params
:
Classes
mcelog
Manage mcelog
Examples
include ::mcelog
Parameters
The following parameters are available in the mcelog
class.
ensure
Data type: Enum['present','absent']
Defines state of mcelog. Setting to absent
will completely remove mcelog
Default value: 'present'
settings
Data type: Hash
Settings hash to be passed to mcelog.conf
INI file.
Keys are the section in mcelog.log
and empty key is global settings
The values are key/value pairs of setting and value under a given section.
Default value: {}
service_ensure
Data type: Optional[Enum['running','stopped']]
Service ensure
value. Default is based on ensure
parameter value.
Default value: undef
Dependencies
- puppetlabs/stdlib (>= 4.13.1 <6.0.0)
- puppetlabs/inifile (>= 1.6.0 <3.0.0)
Copyright (C) 2013-2014 Joshua Hoblitt <jhoblitt@cpan.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.