Puppet Class: crowdsec::params

Inherited by:
crowdsec
Defined in:
manifests/params.pp

Summary

The params class defines some basic defaults for crowdsec.

Overview

Examples:

include crowdsec::params


5
6
7
8
9
10
11
12
13
14
15
# File 'manifests/params.pp', line 5

class crowdsec::params {
  case $facts['kernel'] {
    'Linux' : {
      $config_basedir = '/etc/crowdsec'
      $service_name = 'crowdsec.service'
    }
    default : {
      fail("${facts['kernel']} is not supported by the crowdsec module yet! Please send patches!")
    }
  }
}