mcelog
Version information
This version is compatible with:
- Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x
- Puppet >= 6.0.0 < 8.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'jhoblitt-mcelog', '2.1.1'
Learn more about managing modules with a PuppetfileDocumentation
Puppet mcelog Module
Table of Contents
- Overview
- Description
- Usage
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations
- Versioning
- Support
- See Also
Overview
Manages the mcelog
utility for x86-64 CPU Machine Check Exception data
Description
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
Simple
include ::mcelog
mcelog
This class is presently the only public API in this module.
# defaults
class { '::mcelog':
config_file_template => 'mcelog/mcelog.conf.erb',
}
Reference
See REFERENCE.
Limitations
This module is extremely basic. A few obvious improvements would be to:
- provide more configuration options; specifically enable/disable mce events being sent to syslog
- logrotated setup of the mcelog log file
Please note that MCE is only avaiable on x86_64
. It /can not/ work and the
package is likely not avaible on i386
hosts. mcelog
has been removed from
Debian >= 10 and replaced by rasdaemon
.
Versioning
This module is versioned according to the Semantic Versioning 2.0.0 specification.
Support
Please log tickets and issues at github
See Also
Reference
Table of Contents
Classes
mcelog
: Manage mcelog
Classes
mcelog
Manage mcelog
Parameters
The following parameters are available in the mcelog
class:
package_name
Data type: String
The name of the package.
config_file_path
Data type: Stdlib::Absolutepath
The path of mcelog configuration file.
service_name
Data type: String
The name of the service.
service_ensure
Data type: Stdlib::Ensure::Service
The expected state of the service
service_enable
Data type: Boolean
Should the service start on boot?
config_file_content
Data type: Optional[String]
Literal string to write to config_file_path.
Default value: undef
[Current]
Added support for EL7
- 7a80641 - (Stefano Zilli) Added support for EL7
- 2fcfbd0 - (Joshua Hoblitt) bump version to v1.1.2
- 68aa1db - (Joshua Hoblitt) add Fedora to metadata.json operatingsystem_support
- 9634898 - (Joshua Hoblitt) add Fedora 22 to tested platforms list
- 1885add - (Joshua Hoblitt) bump version to v1.1.1
- 9f70832 - (Joshua Hoblitt) fix fedora systemd service name
- dadf2da - (Joshua Hoblitt) bump version to v1.1.0
- 16332c6 - (Joshua Hoblitt) Merge pull request #8 from jhoblitt/feature/fedora-support
fedora support
- 2bb4489 - (Joshua Hoblitt) add fedora support
- 518c5b8 - (Joshua Hoblitt) bump version to 1.0.2
- bb41779 - (Joshua Hoblitt) Merge pull request #7 from jhoblitt/maint/fix-puppet-4-compat
fix puppet 4 compat - $::operatingsystemmajrelease
is a string
- 5cdd9b2 - (Joshua Hoblitt) fix puppet 4 compat -
$::operatingsystemmajrelease
is a string - 90d992f - (Joshua Hoblitt) Merge pull request #5 from jhoblitt/feature/v1.0.1
Feature/v1.0.1
- 58aab2b - (Joshua Hoblitt) bump version to v1.0.1
- 8151d31 - (Joshua Hoblitt) remove default nodset symlink
To resolve this PMT error: Puppet::ModuleTool::Errors::ModuleToolError: Found symlinks. Symlinks in modules are not allowed, please remove them.
Feature/v1.0.0
- c1fedf2 - (Joshua Hoblitt) bump version to v1.0.0
- 386a795 - (Joshua Hoblitt) add Puppet Version Compatibility subsection to README
- 7d426cd - (Joshua Hoblitt) update README boilerplate
- da5a186 - (Joshua Hoblitt) add centos 5.11 nodeset
- ef62050 - (Joshua Hoblitt) add puppet-blacksmith gem
- 515cbf7 - (Joshua Hoblitt) add travis_lint rake target
- af7ace4 - (Joshua Hoblitt) fix trailing whitespace
- 42811a8 - (Joshua Hoblitt) update copyright notice year to 2015
- 49fac64 - (Joshua Hoblitt) add ruby 2.2 to travis matrix
- 8b9e44d - (Joshua Hoblitt) add :validate to default rake target list
- 9058823 - (Joshua Hoblitt) add metadata-json-lint gem
Needed by rake metadata.json validation target.
- 161a587 - (Joshua Hoblitt) set stdlib requirement to 4.6.0
- 1df0329 - (Joshua Hoblitt) update travis matrix puppet 3.x minimum version to 3.7
- a74e5bd - (Joshua Hoblitt) update rspec-puppet gem version to ~> 2.1.0
For compatibility with puppet 4.0.0
- f05c11f - (Joshua Hoblitt) add junit/ to .gitiginore
Generated by beaker 5
- c9f7cbb - (Joshua Hoblitt) fix rspec puppet 4 compatibility
- b13b326 - (Joshua Hoblitt) add puppet 4.0 to travis matrix
- 573a836 - (Joshua Hoblitt) pin rspec on Ruby 1.8.7 (rspec/rspec-core#1864)
- 229b972 - (Joshua Hoblitt) add FACTER_GEM_VERSION to Gemfile
- 71c0f98 - (Joshua Hoblitt) remove puppet 2.7 from travis matrix
4.0.0 has been released; support major release -1
- 647ae66 - (Joshua Hoblitt) add log/ to .gitignore
Generated by beaker during execution.
- 948301e - (Joshua Hoblitt) convert Modulefile to metadata.json
- 0e48773 - (Joshua Hoblitt) add beaker support
- b48ca88 - (Joshua Hoblitt) enable travis container based builds
- eaf8328 - (Joshua Hoblitt) tidy Gemfile formatting
- cfc7347 - (Joshua Hoblitt) fail on linter warnings
- 8f49dce - (Joshua Hoblitt) Merge pull request #1 from shawn-sterling/master
Resolves #1
- 465ae23 - (Shawn Sterling) fix linter errors
- a4d4503 - (Joshua Hoblitt) Merge pull request #2 from jhoblitt/feature/future_parser
add future parser to travis matrix
- dc8327d - (Joshua Hoblitt) add future parser to travis matrix
v0.1.0
-
0a739cf - (Joshua Hoblitt) bump version to v0.1.0
-
25012a4 - (Joshua Hoblitt) add basic README info
-
6c1ed79 - (Joshua Hoblitt) add $config_file_template param to mcelog class
-
dcd23ea - (Joshua Hoblitt) add support for EL5
-
The EL5 mcelog package does not supply an init script
-
d582bff - (Joshua Hoblitt) restrict module to $::architecture == x86_64
-
fb18dc3 - (Joshua Hoblitt) implement params class pattern
-
restrict module to $::osfamily == redhat
-
e5e849a - (Joshua Hoblitt) refactor init.pp to follow class autoloading rules
-
removed mcelog{install,config,service} classes all declared in the same file (init.pp)
-
c4b5aad - (Joshua Hoblitt) add minimal tests of declared resources
-
edf81a4 - (Joshua Hoblitt) update copyright notice to -2014
-
01568cb - (Joshua Hoblitt) add module description
-
3878276 - (Joshua Hoblitt) update .gitignore
-
603d33d - (Joshua Hoblitt) update travis matrix
-
20ebdc7 - (Joshua Hoblitt) Merge puppet-module_skel
-
c8157c7 - (Joshua Hoblitt) first commit
Dependencies
- puppetlabs/stdlib (>= 4.13.0 < 9.0.0)
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.