From 2728eed07d93fbd0daa8c4d528597cd156bf2546 Mon Sep 17 00:00:00 2001 From: Micah Date: Tue, 24 May 2016 10:19:20 -0400 Subject: Squashed 'puppet/modules/openvpn/' content from commit 26d4edc git-subtree-dir: puppet/modules/openvpn git-subtree-split: 26d4edc669853a268a65d2cbbfb42c19f1333de7 --- vagrant/client.pp | 5 +++++ vagrant/server.pp | 23 +++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 vagrant/client.pp create mode 100644 vagrant/server.pp (limited to 'vagrant') diff --git a/vagrant/client.pp b/vagrant/client.pp new file mode 100644 index 00000000..7ebeb1d7 --- /dev/null +++ b/vagrant/client.pp @@ -0,0 +1,5 @@ +node default { + + package { 'openvpn': ensure => installed; } + +} diff --git a/vagrant/server.pp b/vagrant/server.pp new file mode 100644 index 00000000..a95def06 --- /dev/null +++ b/vagrant/server.pp @@ -0,0 +1,23 @@ +node default { + openvpn::server { 'winterthur': + country => 'CH', + province => 'ZH', + city => 'Winterthur', + organization => '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'; + } +} -- cgit v1.2.3