summaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
authorRaffael Schmid <raffael@yux.ch>2013-01-19 15:32:40 +0100
committerRaffael Schmid <raffael@yux.ch>2013-01-19 15:32:40 +0100
commit87478da4b6c65812c151548ef9c47d835bf01dff (patch)
tree9e3174afd2f6f06a91b00e9497cdbcbda5944abe /manifests/params.pp
parentc769e17c89d1889889c444213ef9a49bda5a041e (diff)
move osfamily dependent stuff into params
Diffstat (limited to 'manifests/params.pp')
-rw-r--r--manifests/params.pp10
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
+ }
+
}