summaryrefslogtreecommitdiff
path: root/global/overlay/etc/puppet
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2013-11-27 15:08:28 +0100
committerFredrik Thulin <fredrik@thulin.net>2013-11-27 15:08:28 +0100
commitea7fe42527c93af940ca94b7a530724a461ab48f (patch)
tree0dfa6f9c9c7d641dd5e6ccb7ff0243d079fba601 /global/overlay/etc/puppet
parent45688c5312fb64ddf66a5b3c4070143e9c002f37 (diff)
Diffstat (limited to 'global/overlay/etc/puppet')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp21
1 files changed, 20 insertions, 1 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 86eb537..adf62fa 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -58,7 +58,8 @@ ufw::allow {"allow-ssh-tcp":
}
node 'sto-tug-kvm1.swamid.se' {
- class { 'dhcp':
+
+ class { 'dhcp':
dnsdomain => [ 'eduid.se','sunet.se' ],
nameservers => ['130.242.80.14','130.242.80.99'],
ntpservers => ['pool.ntp.org'],
@@ -66,6 +67,13 @@ node 'sto-tug-kvm1.swamid.se' {
#pxeserver => '130.242.125.5',
#pxefilename => 'pxelinux.0'
}
+
+ sunet-dhcp-hosts { 'sunet_dhcp_hosts': }
+
+}
+
+class sunet-dhcp-hosts {
+
dhcp::pool {'install':
network => '130.242.125.0',
mask => '255.255.255.192',
@@ -199,4 +207,15 @@ class sunet {
class sunet-cdr {
+ class { 'dhcp':
+ dnsdomain => [ 'eduid.se','sunet.se' ],
+ nameservers => ['130.242.80.14','130.242.80.99'],
+ ntpservers => ['pool.ntp.org'],
+ interfaces => ['bond0'],
+ #pxeserver => '130.242.125.5',
+ #pxefilename => 'pxelinux.0'
+ }
+
+ sunet-dhcp-hosts { 'sunet_dhcp_hosts': }
+
}