Puppet Class: stunnel::params

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

Overview

Class: stunnel::data

This module sets up SSL encrypted and authenticated tunnels using the common application stunnel.

Variables

package

The package name that represents the stunnel application on your distribution.

service

The service name that represents the stunnel application on your distribution.

conf_dir

The default base configuration directory for your version on stunnel.

Authors

Cody Herriges <cody@puppetlabs.com> Sam Kottler <shk@linux.com>

Copyright 2012 Puppet Labs, LLC



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'manifests/params.pp', line 28

class stunnel::params {
  case $::osfamily {
    'Debian': {
      $conf_dir = '/etc/stunnel'
      $package  = 'stunnel4'
      $service  = 'stunnel4'
    }
    'RedHat': {
      $conf_dir = '/etc/stunnel'
      $package = 'stunnel'
      $service = 'stunnel'
    }
    default: {
      fail("Your OS family ${::osfamily} is not supported")
    }
  }
}