Displaying 1 result from an estimated 1 matches for "openvpn_file".
2007 Oct 28
9
openvpn recipe: comments, suggestions, help
...the
wiki.
Anyway here it is, my comments/questions are prepended with ** :-
# /etc/puppet/manifests/classes/openvpn.pp
** Is it possible to have only one file { }, so the shared elements
** only need to be specified once, e.g. owner, group, perhaps using
** case within file { } ?
define openvpn_file ($source = "", $content = "", $tunnel, $path, $mode = 0640) {
if $source {
file { "$name":
source => "puppet:///files/$source",
path => $path,
ensure => present,
mode => $mode,...