Updated puppet ssldir params
This commit is contained in:
parent
de510c4c4a
commit
4f5d03a627
|
@ -1,17 +1,24 @@
|
|||
|
||||
#params
|
||||
#psec::params
|
||||
|
||||
class ipsec::params {
|
||||
case $::osfamily {
|
||||
'FreeBSD':{
|
||||
$default_ike_daemon = 'racoon'
|
||||
$openssl_cmd = "/usr/bin/openssl"
|
||||
}
|
||||
'OpenBSD':{
|
||||
$default_ike_daemon = 'isakmpd'
|
||||
$openssl_cmd = "/usr/bin/openssl"
|
||||
}
|
||||
default: {
|
||||
$default_ike_daemon = 'strongswan'
|
||||
$openssl_cmd = "/usr/bin/openssl"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$puppet_ca_cert = "$ipsec_puppet_ssldir/certs/ca.pem"
|
||||
$puppet_client_cert = "$ipsec_puppet_ssldir/certs/${facts[clientcert]}.pem"
|
||||
$puppet_client_key = "$ipsec_puppet_ssldir/private_keys/${facts[clientcert]}.pem"
|
||||
$puppet_crl = "ipsec_$puppet_ssldir/crl.pem"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue