blob: 12c1bd8ff25db3d5e8e94acbeb56a3797c858d62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class site_openvpn::keys {
file { '/etc/openvpn/keys/ca.crt':
content => $site_openvpn::x509_config['ca_cert'],
mode => '0644',
}
file { '/etc/openvpn/keys/dh.pem':
content => $site_openvpn::x509_config['dh'],
mode => '0644',
}
file { '/etc/openvpn/keys/server.key':
content => $site_openvpn::x509_config['key'],
mode => '0600',
}
file { '/etc/openvpn/keys/server.crt':
content => $site_openvpn::x509_config['cert'],
mode => '0644',
}
}
|