aboutsummaryrefslogtreecommitdiff
path: root/manifests/openvpn/server.pp
blob: b31f80bbf852d4e7bc363b12804cb2dd7db25da5 (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'];
	}
}