``role::hpc::server``
======================

This role implements a Server node. Currently only Slurm is supported.
GPFS can be configured, but need changes in Puppet for newer clusters::

  # Cluster specific classes
  case $cluster['name'] {
    'merlin5': {
        class { 'profile::gpfs':; }
    }
  }

Parameters
----------

===========  =========  ==========================
**Name**     **Type**   **Default**
-----------  ---------  --------------------------
has_slurm    Boolean    *true*
cluster      Hash       *slurm::cluster*
db_user      String     *slurm::db::user*
db_password  String     *slurm::db::password*
db_backup    Boolean    *slurm::db::backup*
===========  =========  ==========================

``has_slurm``
~~~~~~~~~~~~~~~

When set to ``true``, installs and configured a **slurm** server.
By default **slurm** is always installed, it can be disabled by setting this 
parameter to ``false``

``cluster``
~~~~~~~~~~~~~~~

Must be defined by the setting ``slurm::cluster`` in YAML.

``db_user``
~~~~~~~~~~~~~~~

Must be defined by the setting ``slurm::db::user`` in YAML. 

``db_passwd``
~~~~~~~~~~~~~~~

Must be defined by the setting ``slurm::db::password`` in YAML. 

``db_backup``
~~~~~~~~~~~~~~~

Must be defined by the setting ``slurm::db::backup`` in YAML. 

``db_options``
~~~~~~~~~~~~~~~

Can be defined by the setting ``slurm::db::options`` in YAML. 
Defaults to ``{}``

``db_backup_dir``
~~~~~~~~~~~~~~~~~

Can be defined by the setting ``slurm::db::backup_dir`` in YAML. 
Defaults to ``undef``
