added jab
[fai-configs.git] / class / 50-host-classes
CommitLineData
c5c7508a
LMM
1#!/bin/bash
2
554a69d8 3. /usr/lib/fai/subroutines
c5c7508a 4# assign classes hosts
2d1f8014 5
554338da
AE
6if (ifclass I386 || ifclass AMD64) ; then
7 GRUB="GRUB_PC"
8fi
5caa1613 9
c5c7508a
LMM
10# use a list of classes for our demo machine
11
2d1f8014 12case $HOSTNAME in
bd6c2111 13 faiserver*)
6b70701a 14 echo "FAIBASE FAISERVER SYSADMIN VM"
554338da 15 ;;
fabcd2b0
LMM
16 nekohost)
17 echo "FAIBASE $GRUB DHCPC DEMO"
554338da 18 ;;
3dfaa361 19 rms)
fabcd2b0
LMM
20 echo "FAIBASE $GRUB DHCPC DEMO XORG TRISQUEL RMS"
21 ;;
f733d6b3
LMM
22 diskstation*)
23 echo "FAIBASE DISKLESS DISKTOOLS SYSADMIN FSF"
554338da 24 ;;
f03c2e2a 25 freestation7)
04ee438e 26 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN MV"
554338da 27 ;;
8d8df5d7
LMM
28 freestation06)
29 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN JAPANESE"
554338da 30 ;;
37c16f88 31 freestation*)
c5b48639 32 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
554338da 33 ;;
c3890b8b 34 zoneminder*)
63ef2270 35 echo "FAIBASE SYSADMIN FSF ZONEMINDER MYSQLD"
c5c7508a 36 ;;
fdb181c0 37 freetop-x60*)
2d2767dc 38 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF"
fdb181c0 39 ;;
85f21d44
LMM
40 contop*)
41 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF CONTOP"
42 ;;
81410d1e 43 iwikiserver*)
1f4c822b 44 echo "FAIBASE IKIWIKI SYSADMIN VM"
81410d1e 45 ;;
04ee438e 46 jobserver*)
432e3669 47 echo "FAIBASE JOB SYSADMIN VM"
04ee438e 48 ;;
b75f015b 49 mysqlserver*)
b4a13bdf 50 echo "FAIBASE KVMGUEST SYSADMIN MYSQLD"
b75f015b 51 ;;
6441b4e5 52 streamstation*)
77859fda 53 echo "FAIBASE $GRUB SYSADMIN STREAM XORG TRISQUEL LPCONF"
36d39189
LMM
54 ;;
55 streamtop*)
f8e1fefe 56 echo "FAIBASE $GRUB SYSADMIN STREAM XORG TRISQUEL LAPTOP LPCONF"
36d39189
LMM
57 ;;
58 freetop*)
f8e1fefe 59 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT"
6441b4e5 60 ;;
99bad8c0
SC
61 sfreetop*)
62 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT LUKS ECRYPTFS"
63 ;;
0a1b5e2b
LMM
64 cloud*)
65 echo "FAIBASE VM SYSADMIN TRISQUEL"
66 ;;
877a9a1d 67 libretop*)
f8e1fefe 68 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP LPCONF"
6441b4e5 69 ;;
7b236e33 70 mwikiserver*)
71 echo "FAIBASE MEDIAWIKI SYSADMIN VM"
7b236e33 72 ;;
38b30c6e
LMM
73 ploneserver*)
74 echo "FAIBASE PLONE SYSADMIN VM"
75 ;;
b6464c36 76 printserver*)
75208f7a 77 echo "FAIBASE CUPS SYSADMIN VM"
75208f7a 78 ;;
c5c7508a
LMM
79 jabserver*)
80 echo "FAIBASE VM LETSENCRYPT EJABBERD"
81 ;;
116dc9bc 82 crmserver*)
1435bb79 83 echo "FAIBASE WWW CIVICRM SYSADMIN VM LETSENCRYPT"
116dc9bc
LMM
84 ;;
85 crmdevserver*)
86 echo "FAIBASE WWW CIVICRM SYSADMIN VM MYSQLD"
116dc9bc 87 ;;
f6df7b87 88 gnusocial*)
a61f964b 89 echo "FAIBASE WWW SYSADMIN VM MYSQLD GNUSOCIAL YOURLS"
f6df7b87 90 ;;
d04f7868 91 nagios*)
38b30c6e 92 echo "FAIBASE SYSADMIN VM MYSQLD NAGIOS WWW"
9dd9648a 93 ;;
df158eb6 94 shopserver*)
6a5433e5 95 echo "FAIBASE SYSADMIN KOSA MARIADB WWW LETSENCRYPT"
c4b1056e 96 ;;
2c0a6eb8
LMM
97 kdev*)
98 echo "FAIBASE SYSADMIN KOSA VM MYSQLD PLONE WWW"
99 ;;
53f83239
LMM
100 dcimserver*)
101 echo "FAIBASE SYSADMIN VM WWW MYSQLD ODCIM"
102 ;;
103 irc*)
104 echo "FAIBASE SYSADMIN KOSA SYSADMIN VM WWW LETSENCRYPT IRC"
105 ;;
83b1b8c1 106 glamp*)
107 echo "FAIBASE MYSQLD PHP5 SYSADMIN WWW"
108 ;;
cc84a658 109 gmg*libreplanet.org)
5ff21634 110 echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT LIBREPLANET"
cc84a658 111 ;;
fabcd2b0 112 gmg*)
5ff21634 113 echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT"
fabcd2b0 114 ;;
75208f7a 115 *)
6923a954 116 echo "FAIBASE"
6923a954 117 ;;
2d1f8014 118esac
119
2d1f8014 120exit 0