diff options
author | Raffael Schmid <raffael@yux.ch> | 2013-01-19 15:32:40 +0100 |
---|---|---|
committer | Raffael Schmid <raffael@yux.ch> | 2013-01-19 15:32:40 +0100 |
commit | 87478da4b6c65812c151548ef9c47d835bf01dff (patch) | |
tree | 9e3174afd2f6f06a91b00e9497cdbcbda5944abe /manifests/params.pp | |
parent | c769e17c89d1889889c444213ef9a49bda5a041e (diff) |
move osfamily dependent stuff into params
Diffstat (limited to 'manifests/params.pp')
-rw-r--r-- | manifests/params.pp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index 328f2cf..838ca1f 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -5,4 +5,14 @@ class openvpn::params { 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 + } + } |