mephisto_users.pp 7.59 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Class: users::mephisto_users
#
# This module manages users and groups for mephisto server and client workstations
#
# Parameters: none
#
# Actions:
#
# Requires: see Modulefile
#
# Sample Usage:
#
class users::mephisto_users inherits users::virtual_users
{
  case $hostname {
16
17
    # 20130919 - mhanby - me-h342alb renamed to me-bec356ela
    "me-bec356ela": {
18
19
20
21
22
23
24
      User["kwalls71"]        { home   => "/home.local/kwalls71" }
      realize(
        Group["me"],
        User["kwalls71"]
      )
    }
    "me-fwd1": {
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
      User["fdorothy"]        { home   => "/home.local/fdorothy" }
      realize(
        Group["me"],
        Group["etlab"],
        User["fdorothy"]
      )
    }
    "me-dhr1": {
      realize(
        Group["me"],
        Group["etlab"],
        User["dhross"]
      )
    }
    "me-h330la": {
      User["skulathu"]        { home   => "/home.local/skulathu" }
      realize(
        Group["me"],
        User["skulathu"]
      )
    }
    "me-bec352lb": {
      User["amitesh"]        { home   => "/home.local/amitesh" }
      User["adgranvi"]       { home   => "/home.local/adgranvi" }
      User["ndgray"]         { home   => "/home.local/ndgray" }
      realize(
        Group["me"],
        Group["etlab"],
        User["amitesh"],
        User["adgranvi"],
        User["ashih"],
56
          User["ndgray"]
57
58
59
60
61
62
63
64
      )
    }
    "me-rpk2": {
      realize(
        Group["me"],
        User["roy"]
      )
    }
65
66

    default: {
67
      User["dszeiger"]       { gid => ["dszeiger"], groups +> ["me"] }
68
      User["gmyers"]         { gid => ["gmyers"],   groups +> ["me"] }
69
      User["harongjr"]       { gid => ["harongjr"], groups +> ["me"] }
70
      User["khin9916"]       { gid => ["khin9916"], groups +> ["me"] }
71
      User["kmelliso"]       { gid => ["kmelliso"], groups +> ["me"] }
72
      User["kschrum"]        { gid => ["kschrum"],  groups +> ["me"] }
73
      User["miskosr"]        { gid => ["miskosr"],  groups +> ["me"] }
74
      User["mmullane"]       { gid => ["mmullane"], groups +> ["me"] }
75
      User["mrj88"]          { gid => ["mrj88"],    groups +> ["me"] }
76
      User["rafaelc"]        { gid => ["rafaelc"],  groups +> ["me"] }
77
78
      User["tbarrios"]       { gid => ["tbarrios"], groups +> ["me"] }
      User["wiyyum"]         { gid => ["wiyyum"],   groups +> ["me"] }
79

80
      # Add shum and dino-theodorou to group citronelle
81
82
      User["sam9412"]        { gid    => ["sam9412"], groups => ["etlab"] }
      User["stuartm"]        { gid    => ["stuartm"], groups => ["etlab"] }
83
      User["shum"]           { groups => ["citronelle","etlabadmins","vboxusers"] }
84
      User["brascome"]       { gid    => ["brascome"], groups => ["etlab","etlabadmins","vboxusers"] }
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
      User["dillavou"]       { groups => ["etlabadmins","vboxusers"] }
      User["dhross"]         { groups => ["etlabadmins"] }
      User["fdorothy"]       { groups => ["etlabadmins"] }
      User["salonika"]       { groups => ["citronelle"] }

      # ME690/790 Fall 2011 Students and instructor for mephisto access to Madymo and VisualEnv
      User["apsiegel"]       { groups => ["me690"] }
      User["bgeiwill"]       { groups => ["me690"] }
      User["chongtan"]       { groups => ["me690"] }
      User["danilak"]        { groups => ["me690"] }
      User["ericoka"]        { groups => ["me690"] }
      User["jkim"]           { groups => ["me690"] }
      User["hitzfiel"]       { groups => ["me690"] }
      User["kj878"]          { groups => ["me690"] }
      User["ldong"]          { groups => ["me690"] }
      User["lee929"]         { groups => ["me690","vboxusers"] }
101
      User["psw22"]          { groups => ["etlab","me690","vboxusers"] }
102
103
104
105
      User["sernatj"]        { groups => ["me690"] }
      User["smh75123"]       { groups => ["me690"] }
      User["slisenb"]        { groups => ["me690"] }

106
      User["dwb0126"]        { groups => ["etlab","vboxusers"] }
107
      User["echenne"]        { groups => ["vboxusers"] }
108
      User["evad19"]         { groups => ["etlab","vboxusers"] }
109
      User["hishamgh"]       { groups => ["vboxusers"] }
110
      User["hyde189"]        { groups => ["etlab","vboxusers"] }
111
112
      User["marker"]         { groups => ["vboxusers"] }
      User["msalama"]        { groups => ["vboxusers"] }
113

114
      User["eeveew"]         { groups => ["etlab"] }
115
116
      User["hmhjedi"]        { groups => ["etlab"] }
      User["scudport"]       { groups => ["etlab"] }
117

118
      # Realize full time users of mephisto
119
      realize(
120
        Group["cbse"],
121
122
123
124
125
126
127
128
129
130
131
132
        Group["citronelle"],
        Group["civil"],
        Group["etlab"],
        Group["etlabadmins"],
        Group["ketaki"],
        Group["me"],
        Group["mse"],
        Group["me690"],
        Group["sysadmins"],
        Group["vboxusers"],
        User["acopus"],
        User["adgranvi"],
133
        User["afraser"],
134
135
136
137
138
139
140
141
142
        User["ahcartner"],
        User["amitesh"],
        User["andreidg"],
        User["apsiegel"],
        User["ashih"],
        User["babi"],
        User["balaji"],
        User["bgeiwill"],
        User["bhautik"],
143
144
        User["brascome"],
        Group["brascome"],
145
146
147
148
149
150
151
152
153
        User["chongtan"],
        User["dagny"],
        User["danilak"],
        User["dcooper"],
        User["deamack"],
        User["dhjohn"],
        User["dhross"],
        User["dillavou"],
        User["dll"],
154
155
        User["drewd91"],
        Group["drewd91"],
156
157
        User["dszeiger"],
        Group["dszeiger"],
158
159
160
161
162
163
164
165
166
        User["dvkini"],
        User["dwb0126"],
        User["echenne"],
        User["eeveew"],
        User["ericoka"],
        User["evad19"],
        User["ewinardi"],
        User["farshads"],
        User["fdorothy"],
167
        User["gary"],
Mike Hanby's avatar
Mike Hanby committed
168
169
        User["gmyers"],
        Group["gmyers"],
170
        User["gpekmezi"],
171
172
        User["harongjr"],
        Group["harongjr"],
173
174
175
        User["harsh5"],
        User["hishamgh"],
        User["hitzfiel"],
176
        User["hmhjedi"],
177
178
179
180
        User["hyde189"],
        User["jace16"],
        User["jaken"],
        User["japatton"],
181
        User["jeremiah"],
182
        User["j_hayes1278"],
183
        User["jhiggs"],
184
185
186
187
        User["jkim"],
        User["kbfarley"],
        User["kdn"],
        User["ketaki"],
188
189
        User["khin9916"],
        Group["khin9916"],
190
191
        User["kj878"],
        User["kmanne09"],
192
193
        User["kmelliso"],
        Group["kmelliso"],
194
195
        User["kngine"],
        User["knord137"],
196
197
        User["kschrum"],
        Group["kschrum"],
198
199
200
201
202
        User["kwalls71"],
        User["lalitroy"],
        User["ldong"],
        User["lee929"],
        User["marker"],
203
        User["mcglowna"],
204
        User["mek"],
205
206
        User["miskosr"],
        Group["miskosr"],
207
208
        User["mmullane"],
        Group["mmullane"],
209
210
        User["mrj88"],
        Group["mrj88"],
211
        User["msalama"],
212
        User["mselim"],
213
214
215
216
217
218
219
        User["ncarpent"],
        User["ndgray"],
        User["nitin"],
        User["pilgrim"],
        User["prapanj"],
        User["psw22"],
        User["pwalsh"],
220
221
        User["rafaelc"],
        Group["rafaelc"],
222
223
        User["rcloud"],
        User["roy"],
224
225
        User["sakles"],
        User["salonika"],
226
227
        User["sam9412"],
        Group["sam9412"],
228
        User["saurabh"],
229
        User["scudport"],
230
231
232
233
234
        User["sernatj"],
        User["shravang"],
        User["shum"],
        User["skulathu"],
        User["slisenb"],
235
        User["smh75123"],
236
237
        User["stuartm"],
        Group["stuartm"],
238
        User["stuicism"],
239
240
        User["tbarrios"],
        Group["tbarrios"],
241
242
243
244
245
        User["therohit"],
        User["tuptain"],
        User["waltchen"],
        User["wenbin"],
        User["whz"],
246
247
        User["wiyyum"],
        Group["wiyyum"],
248
249
250
        User["wytemike"],
        User["yito"],
        User["ykim"],
251
        User["ywarsi"]
252
253
254
      )
    }
  }
255
}