pushed changes to jab
[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*)
6b70701a 12 echo "FAIBASE FAISERVER SYSADMIN VM"
554338da 13 ;;
fabcd2b0
LMM
14 nekohost)
15 echo "FAIBASE $GRUB DHCPC DEMO"
554338da 16 ;;
3dfaa361 17 rms)
fabcd2b0
LMM
18 echo "FAIBASE $GRUB DHCPC DEMO XORG TRISQUEL RMS"
19 ;;
f733d6b3
LMM
20 diskstation*)
21 echo "FAIBASE DISKLESS DISKTOOLS SYSADMIN FSF"
554338da 22 ;;
f03c2e2a 23 freestation7)
04ee438e 24 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN MV"
554338da 25 ;;
8d8df5d7
LMM
26 freestation06)
27 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN JAPANESE"
554338da 28 ;;
37c16f88 29 freestation*)
c5b48639 30 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
554338da 31 ;;
c3890b8b 32 zoneminder*)
63ef2270 33 echo "FAIBASE SYSADMIN FSF ZONEMINDER MYSQLD"
c3890b8b 34 ;;
fdb181c0 35 freetop-x60*)
2d2767dc 36 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF"
fdb181c0 37 ;;
85f21d44
LMM
38 contop*)
39 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF CONTOP"
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*)
77859fda 51 echo "FAIBASE $GRUB SYSADMIN STREAM XORG TRISQUEL LPCONF"
36d39189
LMM
52 ;;
53 streamtop*)
f8e1fefe 54 echo "FAIBASE $GRUB SYSADMIN STREAM XORG TRISQUEL LAPTOP LPCONF"
36d39189
LMM
55 ;;
56 freetop*)
f8e1fefe 57 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT"
6441b4e5 58 ;;
99bad8c0
SC
59 sfreetop*)
60 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT LUKS ECRYPTFS"
61 ;;
0a1b5e2b
LMM
62 cloud*)
63 echo "FAIBASE VM SYSADMIN TRISQUEL"
64 ;;
877a9a1d 65 libretop*)
f8e1fefe 66 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP LPCONF"
6441b4e5 67 ;;
7b236e33 68 mwikiserver*)
69 echo "FAIBASE MEDIAWIKI SYSADMIN VM"
7b236e33 70 ;;
38b30c6e
LMM
71 ploneserver*)
72 echo "FAIBASE PLONE SYSADMIN VM"
73 ;;
b6464c36 74 printserver*)
75208f7a 75 echo "FAIBASE CUPS SYSADMIN VM"
75208f7a 76 ;;
116dc9bc 77 crmserver*)
1435bb79 78 echo "FAIBASE WWW CIVICRM SYSADMIN VM LETSENCRYPT"
116dc9bc
LMM
79 ;;
80 crmdevserver*)
81 echo "FAIBASE WWW CIVICRM SYSADMIN VM MYSQLD"
116dc9bc 82 ;;
f6df7b87 83 gnusocial*)
a61f964b 84 echo "FAIBASE WWW SYSADMIN VM MYSQLD GNUSOCIAL YOURLS"
f6df7b87 85 ;;
d04f7868 86 nagios*)
38b30c6e 87 echo "FAIBASE SYSADMIN VM MYSQLD NAGIOS WWW"
9dd9648a 88 ;;
df158eb6 89 shopserver*)
6a5433e5 90 echo "FAIBASE SYSADMIN KOSA MARIADB WWW LETSENCRYPT"
c4b1056e 91 ;;
2c0a6eb8
LMM
92 kdev*)
93 echo "FAIBASE SYSADMIN KOSA VM MYSQLD PLONE WWW"
94 ;;
53f83239
LMM
95 dcimserver*)
96 echo "FAIBASE SYSADMIN VM WWW MYSQLD ODCIM"
97 ;;
98 irc*)
99 echo "FAIBASE SYSADMIN KOSA SYSADMIN VM WWW LETSENCRYPT IRC"
100 ;;
83b1b8c1 101 glamp*)
102 echo "FAIBASE MYSQLD PHP5 SYSADMIN WWW"
103 ;;
cc84a658 104 gmg*libreplanet.org)
5ff21634 105 echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT LIBREPLANET"
cc84a658 106 ;;
fabcd2b0 107 gmg*)
5ff21634 108 echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT"
fabcd2b0 109 ;;
75208f7a 110 *)
6923a954 111 echo "FAIBASE"
6923a954 112 ;;
2d1f8014 113esac
114
2d1f8014 115exit 0