``profile::kdump_client``
=========================

This profile manages the ``kdump`` service. It automatically reserves memory for
the crash kernel.


Parameters
----------

===========  ========  ================================================
**Name**     **Type**  **Default**
-----------  --------  ------------------------------------------------
crashkernel  string    hiera('kdump_client::crashkernel')
target       string    hiera('kdump_client::target')
===========  ========  ================================================


``crashkernel``
~~~~~~~~~~~~~~~

Configures the kernel parameter ``crashkernel``, which specifies the amount of
memory to be reserved for the crash kernel. This can be ``auto`` or ``xxxM``.
Further information is provided by `Red Hat
<https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/s1-kdump-configuration.html>`_.


``target``
~~~~~~~~~~

The target for kernel dumps as documented in ``kdump.conf(5)``. Currently SSH
targets do not work, as there is no way to specify an SSH key.


Examples
--------

Transfer kernel dumps to a remote server using NFS::

  class {'kdump':
    target => 'nfs some-server.psi.ch/crashes/',
  }
