From 3da5c28cc7aae1179c7dd970e2003b6c27d31449 Mon Sep 17 00:00:00 2001 From: Elisiano Petrini Date: Sun, 19 May 2013 10:08:59 +0000 Subject: Fixed CentOS/RedHat 6 path for easyrsa --- manifests/params.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'manifests') 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' } -- cgit v1.2.3