added iputils-tracepath package
[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 ;;
c3890b8b
AE
38 zoneminder*)
39 echo "FAIBASE DISKLESS SYSADMIN FSF SYSADMIN ZONEMINDER"
40 ;;
fdb181c0 41 freetop-x60*)
2d2767dc 42 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF"
fdb181c0 43 ;;
81410d1e 44 iwikiserver*)
1f4c822b 45 echo "FAIBASE IKIWIKI SYSADMIN VM"
81410d1e 46 ;;
04ee438e 47 jobserver*)
432e3669 48 echo "FAIBASE JOB SYSADMIN VM"
04ee438e 49 ;;
b75f015b 50 mysqlserver*)
b4a13bdf 51 echo "FAIBASE KVMGUEST SYSADMIN MYSQLD"
b75f015b 52 ;;
6441b4e5 53 streamstation*)
420ee6f5 54 echo "FAIBASE $GRUB SYSADMIN STREAM LIBREPLANET"
6441b4e5 55 ;;
56 freetop*)
8fb3119a 57 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LIBREPLANET 3DPRINT"
6441b4e5 58 ;;
7b236e33 59 mwikiserver*)
60 echo "FAIBASE MEDIAWIKI SYSADMIN VM"
7b236e33 61 ;;
38b30c6e
LMM
62 ploneserver*)
63 echo "FAIBASE PLONE SYSADMIN VM"
64 ;;
b6464c36 65 printserver*)
75208f7a 66 echo "FAIBASE CUPS SYSADMIN VM"
75208f7a 67 ;;
116dc9bc
LMM
68 crmserver*)
69 echo "FAIBASE WWW CIVICRM SYSADMIN VM"
116dc9bc
LMM
70 ;;
71 crmdevserver*)
72 echo "FAIBASE WWW CIVICRM SYSADMIN VM MYSQLD"
116dc9bc 73 ;;
f6df7b87 74 gnusocial*)
a61f964b 75 echo "FAIBASE WWW SYSADMIN VM MYSQLD GNUSOCIAL YOURLS"
f6df7b87 76 ;;
d04f7868 77 nagios*)
38b30c6e 78 echo "FAIBASE SYSADMIN VM MYSQLD NAGIOS WWW"
9dd9648a 79 ;;
df158eb6
LMM
80 shopserver*)
81 echo "FAIBASE SYSADMIN KOSA MARIADB WWW"
c4b1056e 82 ;;
2c0a6eb8
LMM
83 kdev*)
84 echo "FAIBASE SYSADMIN KOSA VM MYSQLD PLONE WWW"
85 ;;
75208f7a 86 *)
6923a954 87 echo "FAIBASE"
6923a954 88 ;;
2d1f8014 89esac
90
2d1f8014 91exit 0