changed
This commit is contained in:
parent
42784659bc
commit
72d49f70e4
Binary file not shown.
|
@ -9,8 +9,8 @@
|
|||
"manifests/params.pp": "c4981d62b9ea633cd59a034eb9c846d0",
|
||||
"manifests/racoon.pp": "0b40af7e75e6481324193c9d86fcd6e7",
|
||||
"manifests/racoon_params.pp": "5582629736d3cd7d8f4c55a24603f665",
|
||||
"manifests/strongswan.pp": "9652c2c317e5f910f71559744216daf4",
|
||||
"manifests/strongswan_params.pp": "39fa38f2249f9f0e26620f5ece60f4df",
|
||||
"manifests/strongswan.pp": "b106f5ea8ee01542914f83f199fb0f5c",
|
||||
"manifests/strongswan_params.pp": "96de0822a1f8200e499453da930bd0b6",
|
||||
"metadata.json": "65900ebf8697e32ecc5c5c8232efab54",
|
||||
"spec/classes/init_spec.rb": "4bf5fa4da7c89cacc52ee8de94848bc5",
|
||||
"spec/spec_helper.rb": "0db89c9a486df193c0e40095422e19dc",
|
||||
|
|
|
@ -2,7 +2,17 @@
|
|||
|
||||
class ipsec::strongswan (
|
||||
$version = 'latest',
|
||||
$enable = $::ipsec::strongswan_params::service_enable
|
||||
$enable = $::ipsec::strongswan_params::service_enable,
|
||||
$local_ip,
|
||||
$remote_ip,
|
||||
$nets,
|
||||
$proto,
|
||||
$psk,
|
||||
$lifetime,
|
||||
$hash,
|
||||
$encryption,
|
||||
$h_group,
|
||||
|
||||
) inherits ipsec::strongswan_params {
|
||||
|
||||
package { 'strongswan':
|
||||
|
|
|
@ -14,13 +14,6 @@ class ipsec::strongswan_params {
|
|||
$secrets_file = '/usr/local/etc/ipsec.secrets'
|
||||
|
||||
}
|
||||
'OpenBSD':{
|
||||
$isakmpd_service = 'isakmpd'
|
||||
$pkg_name = false
|
||||
$pkg_provider = undef
|
||||
$ipsec_conf = '/etc/ipsec.conf'
|
||||
$setkey_cmd = '/sbin/ipsecctl -f /etc/ipsec.conf'
|
||||
}
|
||||
default: {
|
||||
$pkg_name = "strongswan"
|
||||
$ipsec_conf = '/etc/ipsec.conf'
|
||||
|
|
Loading…
Reference in New Issue