added GMG vars, movved local user script, added nekohost
authorLisa Marie Maginnis <lisam@fsf.org>
Fri, 26 Feb 2016 23:36:06 +0000 (18:36 -0500)
committerLisa Marie Maginnis <lisam@fsf.org>
Fri, 26 Feb 2016 23:36:06 +0000 (18:36 -0500)
class/50-host-classes
class/GMG.var [new file with mode: 0644]
scripts/GMG/00_create_local_user.sh [deleted file]

index 4ad3728..700a044 100755 (executable)
@@ -11,18 +11,12 @@ case $HOSTNAME in
     faiserver*)
        echo "FAIBASE FAISERVER SYSADMIN VM"
         ;;
-    demohost)
-        echo "FAIBASE $GRUB DHCPC DEMO" ;;
+    nekohost)
+        echo "FAIBASE $GRUB DHCPC DEMO"
+        ;;
     rms)
-        echo "FAIBASE $GRUB DHCPC DEMO XORG TRISQUEL RMS";;
-    gnomehost)
-        echo "FAIBASE $GRUB DHCPC DEMO XORG GNOME";;
-    atom*)
-        echo "FAIBASE $GRUB DHCPC DEMO" ;;
-    bear)
-        echo "FAIBASE $GRUB DHCPC LVM_XEN_SERVER XEN" ;;
-    puma)
-        echo "FAIBASE $GRUB DHCPC RAID_XEN_VIRTUAL" ;;
+        echo "FAIBASE $GRUB DHCPC DEMO XORG TRISQUEL RMS"
+       ;;
     diskstation*)
        echo "FAIBASE DISKLESS DISKTOOLS SYSADMIN FSF"
         ;;
@@ -86,6 +80,9 @@ case $HOSTNAME in
     glamp*)
        echo "FAIBASE MYSQLD PHP5 SYSADMIN WWW"
        ;;
+    gmg*)
+       echo "FAIBASE VM GMG SYSADMIN"
+       ;;
     *)  
         echo "FAIBASE"
        ;;
diff --git a/class/GMG.var b/class/GMG.var
new file mode 100644 (file)
index 0000000..6bfefbd
--- /dev/null
@@ -0,0 +1 @@
+GMG_PATH=/srv/gmg
diff --git a/scripts/GMG/00_create_local_user.sh b/scripts/GMG/00_create_local_user.sh
deleted file mode 100755 (executable)
index e07891d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-# Create mediagoblin user & group
-$ROOTCMD sudo useradd -c "GNU MediaGoblin system account" -d /var/lib/mediagoblin -m -r -g nginx mediagoblin
-$ROOTCMD sudo groupadd mediagoblin && sudo usermod --append -G mediagoblin mediagoblin