# 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']; } }