Forge Home

kdump

pdk
Kdump Puppet module

12,661 downloads

4,021 latest version

5.0 quality score

Version information

  • 0.4.1 (latest)
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.1
  • 0.1.0
  • 0.0.1
released Aug 19th 2019
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
  • RedHat
    ,
    CentOS
    ,
    Scientific
    ,
    Debian
    ,
    Ubuntu

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'treydock-kdump', '0.4.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add treydock-kdump
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install treydock-kdump --version 0.4.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: kdump

Documentation

treydock/kdump — version 0.4.1 Aug 19th 2019

puppet-kdump

Puppet Forge Build Status

Overview

This module manages the kdump service.

Usage

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',
  },
}

Reference

http://treydock.github.io/puppet-kdump/

Development

Testing

Testing requires the following dependencies:

  • rake
  • bundler

Install gem dependencies

bundle install

Run unit tests

bundle exec rake spec

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

BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=centos-7-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=centos-7-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=centos-6-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=centos-6-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=ubuntu-1604-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=ubuntu-1604-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=ubuntu-1804-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=ubuntu-1804-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=debian-8-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=debian-8-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_set=debian-9-vagrant bundle exec rake beaker
BEAKER_PUPPET_COLLECTION=puppet6 BEAKER_set=debian-8-vagrant bundle exec rake beaker

Further Information