summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaffael Schmid <raffael@yux.ch>2013-01-19 16:40:19 +0100
committerRaffael Schmid <raffael@yux.ch>2013-01-19 16:40:19 +0100
commitdfb1d97f7e85b67a20887faa494bf863a6077067 (patch)
tree96ac6949bf9f17d859bc4a051f450cb1336773c4
parent184bc4f953271eec1a90f268b4879cac6579c553 (diff)
add client configurations
-rw-r--r--vagrant/server.pp11
1 files changed, 10 insertions, 1 deletions
diff --git a/vagrant/server.pp b/vagrant/server.pp
index f0c0e0a..d97c517 100644
--- a/vagrant/server.pp
+++ b/vagrant/server.pp
@@ -4,11 +4,20 @@ node default {
province => "ZH",
city => "Winterthur",
organization => "example.org",
- email => "root@example.org";
+ email => "root@example.org",
+ server => '10.200.200.0 255.255.255.0'
}
openvpn::client { 'client1':
server => 'winterthur';
}
+ openvpn::client_specific_config { 'client1':
+ server => 'winterthur',
+ ifconfig => '10.200.200.100 255.255.255.0'
+ }
+
+ openvpn::client { 'client2':
+ server => 'winterthur';
+ }
}