summaryrefslogtreecommitdiff
path: root/manifests/params.pp
blob: 838ca1fbbfb110a139a1aa319e6bf42b3b70738b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class openvpn::params {

  $group = $::osfamily ? {
    'RedHat' => 'nobody',
    default  => 'nogroup'
  }

  $easyrsa_source = $::osfamily ? {
    'RedHat'  => '/usr/share/doc/openvpn-2.2.2/easy-rsa/2.0',
    default   => '/usr/share/doc/openvpn/examples/easy-rsa/2.0'
  }

  $link_openssl_cnf = $::osfamily ? {
    /(Debian|RedHat)/ => true,
    default           => false
  }

}