Skip to content

ajmaidak/puppet-kdump

 
 

Repository files navigation

puppet-kdump

Puppet Forge Build Status

Overview

This module manages the kdump service.

Usage

Class: kdump

Use default actions of ensuring kdump is stopped

class { 'kdump': }

Example of how to enable kdump

class { 'kdump':
  enable => true,
}

Example of changing the configuration for kdump.conf.

The config_overrides is a hash that can be used to override the default configuration. Below is the default config_overrides.

class { 'kdump':
  enable => true,
  config_overrides => {
    'path' => '/var/crash',
    'core_collector' => 'makedumpfile -c --message-level 1 -d 31',
  },
}

Compatibility

Tested using

  • CentOS 5.9
  • CentOS 6.4

Development

Testing

Testing requires the following dependencies:

  • rake
  • bundler

Install gem dependencies

bundle install

Run unit tests

bundle exec rake test

If you have Vagrant >= 1.2.0 installed you can run system tests

bundle exec rake beaker

Further Information

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 40.2%
  • HTML 31.7%
  • Puppet 28.1%