RobH has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/58543


Change subject: RT 4920 stat1002 deployment
......................................................................

RT 4920 stat1002 deployment

Change-Id: Ia1021202d0c454d613078da06432fcd680f8717b
---
M files/autoinstall/netboot.cfg
M files/dhcpd/linux-host-entries.ttyS1-115200
M manifests/site.pp
3 files changed, 13 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/43/58543/1

diff --git a/files/autoinstall/netboot.cfg b/files/autoinstall/netboot.cfg
index d1a17e3..6fddfb3 100644
--- a/files/autoinstall/netboot.cfg
+++ b/files/autoinstall/netboot.cfg
@@ -33,7 +33,7 @@
                analytics100[1-9]|analytics1010) echo 
partman/analytics-cisco.cfg ;; \
                analytics101[1-9]|analytics102[0-2]) echo partman/raid1-30G.cfg 
;; \
                analytics102[3-7]) echo partman/analytics-dell.cfg ;; \
-               
bayes|db[0-8][0-9]|db10[0-6][0-9]|es10[0-2][0-9]|es[0-9]|es1[0-9]) echo 
partman/es.cfg ;; \
+               
bayes|db[0-8][0-9]|db10[0-6][0-9]|es10[0-2][0-9]|es[0-9]|es1[0-9]|stat1002) 
echo partman/es.cfg ;; \
                boron|chromium|hydrogen) echo partman/lvm.cfg ;; \
                calcium|helium|potassium|tmh1001|tmh1002) echo 
partman/raid1-1partition.cfg ;; \
                capella) echo partman/lvs.cfg ;; \
diff --git a/files/dhcpd/linux-host-entries.ttyS1-115200 
b/files/dhcpd/linux-host-entries.ttyS1-115200
index ca349ec..3064634 100644
--- a/files/dhcpd/linux-host-entries.ttyS1-115200
+++ b/files/dhcpd/linux-host-entries.ttyS1-115200
@@ -776,11 +776,6 @@
        fixed-address db1011.eqiad.wmnet;
 }
 
-host db1012 {
-       hardware ethernet 78:2b:cb:0a:0e:fc;
-       fixed-address db1012.eqiad.wmnet;
-}
-
 host db1013 {
        hardware ethernet 78:2b:cb:0a:04:4e;
        fixed-address db1013.eqiad.wmnet;
@@ -4503,6 +4498,11 @@
        fixed-address stat1001.wikimedia.org;
 }
 
+host stat1002 {
+       hardware ethernet 78:2b:cb:0a:0e:fc;
+       fixed-address stat1002.eqiad.wmnet;
+}
+
 host strontium {
        hardware ethernet 18:03:73:f4:ef:51;
        fixed-address strontium.eqiad.wmnet;
diff --git a/manifests/site.pp b/manifests/site.pp
index 23882f0..c085412 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -2584,6 +2584,13 @@
        sudo_user { "otto": privileges => ['ALL = NOPASSWD: ALL'] }
 }
 
+node "stat1002.eqiad.wmnet" {
+
+       include accounts::otto
+
+       sudo_user { "otto": privileges => ['ALL = NOPASSWD: ALL'] }
+}
+
 node "streber.wikimedia.org" {
        system_role { "misc": description => "network monitoring server" }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/58543
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia1021202d0c454d613078da06432fcd680f8717b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: RobH <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to