blob: 4c43ec05ef6f51e799b98f56f920c000d70eafaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
class site_openvpn::keys {
x509::key {
'leap_openvpn':
content => $site_openvpn::x509_config['key'],
notify => Service[openvpn];
}
x509::cert {
'leap_openvpn':
content => $site_openvpn::x509_config['cert'],
notify => Service[openvpn];
}
x509::ca {
'leap_openvpn':
content => $site_openvpn::x509_config['ca_cert'],
notify => Service[openvpn];
}
file { '/etc/openvpn/keys/dh.pem':
content => $site_openvpn::x509_config['dh'],
mode => '0644',
}
}
|