shopserver0d
[fai-configs.git] / class / 50-host-classes
CommitLineData
5caa1613 1#! /bin/bash
554a69d8 2. /usr/lib/fai/subroutines
5caa1613 3# assign classes hosts
2d1f8014 4
554338da
AE
5if (ifclass I386 || ifclass AMD64) ; then
6 GRUB="GRUB_PC"
7fi
5caa1613 8
9# use a list of classes for our demo machine
2d1f8014 10case $HOSTNAME in
bd6c2111 11 faiserver*)
77c721a5 12 echo "FAIBASE FAISEVER SYSADMIN VM"
554338da 13 ;;
2d1f8014 14 demohost)
554338da 15 echo "FAIBASE $GRUB DHCPC DEMO" ;;
3dfaa361 16 rms)
554338da 17 echo "FAIBASE $GRUB DHCPC DEMO XORG TRISQUEL RMS";;
2d1f8014 18 gnomehost)
554338da 19 echo "FAIBASE $GRUB DHCPC DEMO XORG GNOME";;
2d1f8014 20 atom*)
554338da 21 echo "FAIBASE $GRUB DHCPC DEMO" ;;
2d1f8014 22 bear)
554338da 23 echo "FAIBASE $GRUB DHCPC LVM_XEN_SERVER XEN" ;;
2d1f8014 24 puma)
554338da 25 echo "FAIBASE $GRUB DHCPC RAID_XEN_VIRTUAL" ;;
f733d6b3
LMM
26 diskstation*)
27 echo "FAIBASE DISKLESS DISKTOOLS SYSADMIN FSF"
554338da 28 ;;
f03c2e2a 29 freestation7)
04ee438e 30 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN MV"
554338da 31 ;;
8d8df5d7
LMM
32 freestation06)
33 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN JAPANESE"
554338da 34 ;;
37c16f88 35 freestation*)
c5b48639 36 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
554338da 37 ;;
fdb181c0 38 freetop-x60*)
2d2767dc 39 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF"
fdb181c0 40 ;;
81410d1e 41 iwikiserver*)
1f4c822b 42 echo "FAIBASE IKIWIKI SYSADMIN VM"
81410d1e 43 ;;
04ee438e 44 jobserver*)
432e3669 45 echo "FAIBASE JOB SYSADMIN VM"
04ee438e 46 ;;
b75f015b 47 mysqlserver*)
b4a13bdf 48 echo "FAIBASE KVMGUEST SYSADMIN MYSQLD"
b75f015b 49 ;;
6441b4e5 50 streamstation*)
420ee6f5 51 echo "FAIBASE $GRUB SYSADMIN STREAM LIBREPLANET"
6441b4e5 52 ;;
53 freetop*)
2d2767dc 54 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LIBREPLANET"
6441b4e5 55 ;;
7b236e33 56 mwikiserver*)
57 echo "FAIBASE MEDIAWIKI SYSADMIN VM"
7b236e33 58 ;;
38b30c6e
LMM
59 ploneserver*)
60 echo "FAIBASE PLONE SYSADMIN VM"
61 ;;
b6464c36 62 printserver*)
75208f7a 63 echo "FAIBASE CUPS SYSADMIN VM"
75208f7a 64 ;;
116dc9bc
LMM
65 crmserver*)
66 echo "FAIBASE WWW CIVICRM SYSADMIN VM"
116dc9bc
LMM
67 ;;
68 crmdevserver*)
69 echo "FAIBASE WWW CIVICRM SYSADMIN VM MYSQLD"
116dc9bc 70 ;;
f6df7b87
SM
71 gnusocial*)
72 echo "FAIBASE WWW SYSADMIN VM MYSQLD"
f6df7b87 73 ;;
d04f7868 74 nagios*)
38b30c6e 75 echo "FAIBASE SYSADMIN VM MYSQLD NAGIOS WWW"
9dd9648a 76 ;;
c4b1056e 77 shopserver0d*)
78 echo "FAIBASE SYSADMIN KOSA MYSQLD WWW"
79 ;;
2c0a6eb8
LMM
80 kdev*)
81 echo "FAIBASE SYSADMIN KOSA VM MYSQLD PLONE WWW"
82 ;;
75208f7a 83 *)
6923a954 84 echo "FAIBASE"
6923a954 85 ;;
2d1f8014 86esac
87
2d1f8014 88exit 0