summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorJustin Lambert <jlambert@eml.cc>2013-01-14 09:30:24 -0700
committerJustin Lambert <jlambert@eml.cc>2013-01-14 09:30:24 -0700
commit3a81ce3cdaf9eaaad5c38cc2c56051785b84bd09 (patch)
treec3624ffed50c09e1d56d8ad976cc1f7dbd372039 /manifests
parent2dce9ca4c11ffeb43aaafe7551d3fa098fad75c4 (diff)
added ifconfig-push and iroute options to openvpn::client
Diffstat (limited to 'manifests')
-rw-r--r--manifests/client.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 581eece..bfa316f 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -20,6 +20,12 @@
# Default: tun
# Options: tun (routed connections), tap (bridged connections)
#
+# [*ifconfig_push*]
+# String. Interface IP to be pushed to the client
+#
+# [*iroute*]
+# String or Array. List of iroutes to be announced to the server
+#
# [*mute*]
# Integer. Set log mute level
# Default: 20
@@ -88,6 +94,8 @@ define openvpn::client(
$server,
$compression = 'comp-lzo',
$dev = 'tun',
+ $ifconfig_push = '',
+ $iroute = '',
$mute = '20',
$mute_replay_warnings = true,
$nobind = true,