Skip to content

Commit

Permalink
fix easy rsa path for 6.0 - 6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
luxflux authored and typhonius committed Jan 11, 2015
1 parent a4eb322 commit a9821bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@
$additional_packages = ['easy-rsa']
$easyrsa_source = '/usr/share/easy-rsa/2.0'

# Redhat/Centos < 6.4
# Redhat/Centos < 6.4 >= 6
} elsif(versioncmp($::operatingsystemrelease, '6') >= 0) {
$easyrsa_source = '/usr/share/openvpn/easy-rsa/2.0'

# Redhat/Centos < 6
} else {
$easyrsa_source = '/usr/share/doc/openvpn/examples/easy-rsa/2.0'
}
Expand Down

0 comments on commit a9821bc

Please sign in to comment.