summaryrefslogtreecommitdiff
path: root/global/overlay/etc
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2014-09-29 17:18:27 +0200
committerLeif Johansson <leifj@sunet.se>2014-09-29 17:18:27 +0200
commit2fe3c084d7ccceb039a51f20c66ad40ed3626e46 (patch)
tree7b7fc90d0a556ca265febe94ae6bdde99a9cee35 /global/overlay/etc
parentee3a0c3ba5cbd584c8ba109f37be3d85489c99c5 (diff)
Diffstat (limited to 'global/overlay/etc')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp25
1 files changed, 25 insertions, 0 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index 986dfbf..8e69318 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -56,6 +56,14 @@ node 'sto-tug-kvm1.swamid.se' {
cpus => '1',
memory => '2048',
}
+
+ cosmos::dhcp_kvm { 'mdx1.swamid.se':
+ mac => '52:54:00:fe:bc:09',
+ repo => 'git://git.nordu.net/sunet-ops.git',
+ tagpattern => 'sunet-ops',
+ cpus => '1',
+ memory => '2048',
+ }
cosmos::dhcp_kvm { 'md-master.reep.refeds.org':
mac => '52:54:00:39:8d:ac',
@@ -66,6 +74,21 @@ node 'sto-tug-kvm1.swamid.se' {
}
}
+node 'sto-tug-kvm1.swamid.se' {
+ package {'python-vm-builder':
+ ensure => 'installed',
+ } ->
+
+ #cosmos::dhcp_kvm { 'mdx2.swamid.se':
+ # mac => '52:54:00:30:be:dd',
+ # repo => 'git://git.nordu.net/sunet-ops.git',
+ # tagpattern => 'sunet-ops',
+ # cpus => '1',
+ # memory => '2048',
+ #}
+
+}
+
node 'md-master.reep.refeds.org' {
#include cosmos::httpsproxy
class {'pyff':
@@ -397,6 +420,8 @@ class sunet-dhcp-hosts {
# SWAMID production
dhcp::host { 'registry.swamid': mac => "52:54:00:52:53:0b", ip => "130.242.125.90" }
+ dhcp::host { 'mdx1.swamid': mac => "52:54:00:fe:bc:09", ip => "130.242.125.91" }
+ dhcp::host { 'mdx2.swamid': mac => "52:54:00:30:be:dd", ip => "130.242.125.92" }
}
class sunet {