pushed changes to jab
[fai-configs.git] / class / 50-host-classes
... / ...
CommitLineData
1#! /bin/bash
2. /usr/lib/fai/subroutines
3# assign classes hosts
4
5if (ifclass I386 || ifclass AMD64) ; then
6 GRUB="GRUB_PC"
7fi
8
9# use a list of classes for our demo machine
10case $HOSTNAME in
11 faiserver*)
12 echo "FAIBASE FAISERVER SYSADMIN VM"
13 ;;
14 nekohost)
15 echo "FAIBASE $GRUB DHCPC DEMO"
16 ;;
17 rms)
18 echo "FAIBASE $GRUB DHCPC DEMO XORG TRISQUEL RMS"
19 ;;
20 diskstation*)
21 echo "FAIBASE DISKLESS DISKTOOLS SYSADMIN FSF"
22 ;;
23 freestation7)
24 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN MV"
25 ;;
26 freestation06)
27 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF SYSADMIN JAPANESE"
28 ;;
29 freestation*)
30 echo "FAIBASE DISKLESS XORG TRISQUEL WORKSTATION FSF"
31 ;;
32 zoneminder*)
33 echo "FAIBASE SYSADMIN FSF ZONEMINDER MYSQLD"
34 ;;
35 freetop-x60*)
36 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF"
37 ;;
38 contop*)
39 echo "FAIBASE $GRUB NW_MGR XORG TRISQUEL WORKSTATION FSF CONTOP"
40 ;;
41 iwikiserver*)
42 echo "FAIBASE IKIWIKI SYSADMIN VM"
43 ;;
44 jobserver*)
45 echo "FAIBASE JOB SYSADMIN VM"
46 ;;
47 mysqlserver*)
48 echo "FAIBASE KVMGUEST SYSADMIN MYSQLD"
49 ;;
50 streamstation*)
51 echo "FAIBASE $GRUB SYSADMIN STREAM XORG TRISQUEL LPCONF"
52 ;;
53 streamtop*)
54 echo "FAIBASE $GRUB SYSADMIN STREAM XORG TRISQUEL LAPTOP LPCONF"
55 ;;
56 freetop*)
57 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT"
58 ;;
59 sfreetop*)
60 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP 3DPRINT LUKS ECRYPTFS"
61 ;;
62 cloud*)
63 echo "FAIBASE VM SYSADMIN TRISQUEL"
64 ;;
65 libretop*)
66 echo "FAIBASE $GRUB NW_MGR SYSADMIN XORG TRISQUEL WORKSTATION LAPTOP LPCONF"
67 ;;
68 mwikiserver*)
69 echo "FAIBASE MEDIAWIKI SYSADMIN VM"
70 ;;
71 ploneserver*)
72 echo "FAIBASE PLONE SYSADMIN VM"
73 ;;
74 printserver*)
75 echo "FAIBASE CUPS SYSADMIN VM"
76 ;;
77 crmserver*)
78 echo "FAIBASE WWW CIVICRM SYSADMIN VM LETSENCRYPT"
79 ;;
80 crmdevserver*)
81 echo "FAIBASE WWW CIVICRM SYSADMIN VM MYSQLD"
82 ;;
83 gnusocial*)
84 echo "FAIBASE WWW SYSADMIN VM MYSQLD GNUSOCIAL YOURLS"
85 ;;
86 nagios*)
87 echo "FAIBASE SYSADMIN VM MYSQLD NAGIOS WWW"
88 ;;
89 shopserver*)
90 echo "FAIBASE SYSADMIN KOSA MARIADB WWW LETSENCRYPT"
91 ;;
92 kdev*)
93 echo "FAIBASE SYSADMIN KOSA VM MYSQLD PLONE WWW"
94 ;;
95 dcimserver*)
96 echo "FAIBASE SYSADMIN VM WWW MYSQLD ODCIM"
97 ;;
98 irc*)
99 echo "FAIBASE SYSADMIN KOSA SYSADMIN VM WWW LETSENCRYPT IRC"
100 ;;
101 glamp*)
102 echo "FAIBASE MYSQLD PHP5 SYSADMIN WWW"
103 ;;
104 gmg*libreplanet.org)
105 echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT LIBREPLANET"
106 ;;
107 gmg*)
108 echo "FAIBASE VM PSQL GMG SYSADMIN LETSENCRYPT"
109 ;;
110 *)
111 echo "FAIBASE"
112 ;;
113esac
114
115exit 0