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