summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet/manifests
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2013-11-27 15:20:26 +0100
committerFredrik Thulin <fredrik@thulin.net>2013-11-27 15:20:49 +0100
commit4c03133d0488629639fdca94c3768fbb40bfe097 (patch)
treec6883f351436e26fe5c2f734222e2c9b55eca1d6 /global/overlay/etc/puppet/manifests
parentfdd4a2db1f35df001dbc88518e26f82e87d00919 (diff)
Add servernets with DHCP servers.sunet-ops-2013-11-27-v17
ISC dhcpd won't start unless the local net is defined.
Diffstat (limited to 'global/overlay/etc/puppet/manifests')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index e9113b1..46f143d 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -74,6 +74,20 @@ node 'sto-tug-kvm1.swamid.se' {
class sunet-dhcp-hosts {
+ dhcp::pool {'sunet-servernet-tug-130.242.125.64/26':
+ network => '130.242.125.64',
+ mask => '255.255.255.192',
+ gateway => '130.242.125.65',
+ range => ''
+ }
+
+ dhcp::pool {'sunet-servernet-fre-130.242.125.128/26':
+ network => '130.242.125.128',
+ mask => '255.255.255.192',
+ gateway => '130.242.125.129',
+ range => ''
+ }
+
dhcp::pool {'install':
network => '130.242.125.0',
mask => '255.255.255.192',