summaryrefslogtreecommitdiff
path: root/puppet/modules/site_config/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-04 23:38:57 +0200
committervarac <varacanero@zeromail.org>2012-10-04 23:38:57 +0200
commit1ec1b9b56bc821b81f3797ea158846b41cc03853 (patch)
treeba7edf8c14ba56c8641c7ec4fe277f45babb1767 /puppet/modules/site_config/manifests
parentb59ce36a29a770847368773db543b38c62ea55cf (diff)
finished site_openvpn::server_config
Diffstat (limited to 'puppet/modules/site_config/manifests')
-rw-r--r--puppet/modules/site_config/manifests/eip.pp16
1 files changed, 11 insertions, 5 deletions
diff --git a/puppet/modules/site_config/manifests/eip.pp b/puppet/modules/site_config/manifests/eip.pp
index 6e866b1c..e6f80d25 100644
--- a/puppet/modules/site_config/manifests/eip.pp
+++ b/puppet/modules/site_config/manifests/eip.pp
@@ -7,13 +7,19 @@ class site_config::eip {
#$openvpn_configs=hiera('openvpn_server_configs')
#create_resources('site_openvpn::server_config', $openvpn_configs)
-
+
site_openvpn::server_config { 'tcp_config':
- port => '1194',
- proto => 'tcp'
+ port => '1194',
+ proto => 'tcp',
+ local => $::ipaddress_eth0_1,
+ server => '10.42.0.0 255.255.248.0',
+ push => '"dhcp-option DNS 10.42.0.1"',
}
site_openvpn::server_config { 'udp_config':
- port => '1194',
- proto => 'udp'
+ port => '1194',
+ proto => 'udp',
+ local => $::ipaddress_eth0_1,
+ server => '10.43.0.0 255.255.248.0',
+ push => '"dhcp-option DNS 10.43.0.1"',
}
}