summaryrefslogtreecommitdiff
path: root/global/overlay/etc
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-09-23 13:52:14 +0200
committerLeif Johansson <leifj@sunet.se>2015-09-23 13:52:14 +0200
commit816e92059aa5502d92adff3c8a314659a9793eb8 (patch)
tree683fa82c7c7102aab5bb2f6eefabbbd338e538e9 /global/overlay/etc
parenta0c94c7a92628a91c8e43442de41237242b6649f (diff)
static ip for mdx*
Diffstat (limited to 'global/overlay/etc')
-rw-r--r--global/overlay/etc/puppet/manifests/cosmos-site.pp16
1 files changed, 10 insertions, 6 deletions
diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp
index a205fd9..f04fd87 100644
--- a/global/overlay/etc/puppet/manifests/cosmos-site.pp
+++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp
@@ -83,12 +83,15 @@ node 'sto-tug-kvm1.swamid.se' {
}
sunet::cloudimage { 'mdx1.swamid.se':
- mac => '52:54:00:fe:bc:09',
- dhcp => true,
+ dhcp => false,
repo => 'git://git.nordu.net/nunoc-ops.git',
tagpattern => 'sunet-ops',
cpus => '1',
memory => '2048',
+ ip => '130.242.125.91',
+ netmask => '255.255.255.192',
+ gateway => '130.242.125.65',
+ resolver => '130.242.80.14 130.242.80.99'
}
sunet::dhcp_kvm { 'md-master.reep.refeds.org':
@@ -103,12 +106,15 @@ node 'sto-tug-kvm1.swamid.se' {
node 'sto-fre-kvm1.swamid.se' {
sunet::cloudimage { 'mdx2.swamid.se':
- mac => '52:54:00:30:be:dd',
- dhcp => true,
+ dhcp => false,
repo => 'git://git.nordu.net/nunoc-ops.git',
tagpattern => 'sunet-ops',
cpus => '1',
memory => '2048',
+ ip => '130.242.125.151',
+ netmask => '255.255.255.192',
+ gateway => '130.242.125.129',
+ resolver => '130.242.80.14 130.242.80.99'
}
}
@@ -575,8 +581,6 @@ 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 sunetops {