summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElisiano Petrini <elisiano@gmail.com>2013-05-19 10:08:59 +0000
committerElisiano Petrini <elisiano@gmail.com>2013-05-19 10:08:59 +0000
commit3da5c28cc7aae1179c7dd970e2003b6c27d31449 (patch)
treefb5f3e1b86af460e0926c68440256fc984dd6e57
parent5035d233587d46cc7ea15786e59d83e637540707 (diff)
Fixed CentOS/RedHat 6 path for easyrsa
-rw-r--r--manifests/params.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index c895e99..033d22e 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -22,7 +22,10 @@ class openvpn::params {
}
$easyrsa_source = $::osfamily ? {
- 'RedHat' => '/usr/share/doc/openvpn-2.2.2/easy-rsa/2.0',
+ 'RedHat' => $::operatingsystemmajrelease ? {
+ 6 => '/usr/share/openvpn/easy-rsa/2.0',
+ default => '/usr/share/doc/openvpn-2.2.2/easy-rsa/2.0'
+ },
default => '/usr/share/doc/openvpn/examples/easy-rsa/2.0'
}