diff options
author | Raffael Schmid <raffael@yux.ch> | 2011-08-12 10:13:29 +0200 |
---|---|---|
committer | Raffael Schmid <raffael@yux.ch> | 2011-08-12 10:13:29 +0200 |
commit | 55b874ebf13d218437f3edd7002d2ff41c7ef457 (patch) | |
tree | a332d937abdd140afeb55327801c60fbaa5832c4 /manifests/definitions/push.pp | |
parent | 6f70eb67b81492406f3955b16a992ac29085a1ec (diff) |
add module content
Diffstat (limited to 'manifests/definitions/push.pp')
-rw-r--r-- | manifests/definitions/push.pp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/definitions/push.pp b/manifests/definitions/push.pp new file mode 100644 index 0000000..e799b04 --- /dev/null +++ b/manifests/definitions/push.pp @@ -0,0 +1,18 @@ +## push.pp +# +#define openvpn::push($network, $netmask, $server, $gateway = "undefined") { +# +# $gw = $gateway ? { +# "undefined" => "", +# default => " ${gateway}" +# } +# +# common::concatfilepart { +# "push ${name}": +# ensure => $ensure, +# file => "/etc/openvpn/${server}.conf", +# content => "push \"route ${network} ${netmask}${gw}\"\n", +# notify => Service["openvpn"], +# require => Package["openvpn"]; +# } +#} |