blob: b0f6048ab45ef02a915c612f1d5f658b30f8395f (
plain)
1
2
3
4
5
6
7
8
9
10
|
# actually setup the openvpn server within a vserver
define virtual::openvpn::server($config) {
include virtual::openvpn::base
file {
"/etc/openvpn/${name}.conf":
ensure => present, content => $config,
mode => '0644', owner => root, group => 0,
notify => Service['openvpn'];
}
}
|