mephisto_users.pp 6.97 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
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
56
57
58
59
60
61
62
63
64
65
66
      User["kwalls71"]        { home   => "/home.local/kwalls71" }
      realize(
        Group["me"],
        User["kwalls71"]
      )
    }
    "me-fwd1": {
       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"],
          User["ndgray"]
       )
     }
     "me-rpk2": {
       realize(
          Group["me"],
          User["roy"]
       )
     }

    default: {
67
      User["gmyers"]         { gid => ["gmyers"],   groups +> ["me"] }
68
      User["harongjr"]       { gid => ["harongjr"], groups +> ["me"] }
69
      User["kmelliso"]       { gid => ["kmelliso"], groups +> ["me"] }
70
      User["kschrum"]        { gid => ["kschrum"],  groups +> ["me"] }
71
      User["miskosr"]        { gid => ["miskosr"],  groups +> ["me"] }
72
      User["mmullane"]       { gid => ["mmullane"], groups +> ["me"] }
73
      User["rafaelc"]        { gid => ["rafaelc"],  groups +> ["me"] }
74

75
      # Add shum and dino-theodorou to group citronelle
76
77
      User["sam9412"]        { gid    => ["sam9412"], groups => ["etlab"] }
      User["stuartm"]        { gid    => ["stuartm"], groups => ["etlab"] }
78
      User["shum"]           { groups => ["citronelle","etlabadmins","vboxusers"] }
79
      User["brascome"]       { gid    => ["brascome"], groups => ["etlab","etlabadmins","vboxusers"] }
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
      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"] }
96
      User["psw22"]          { groups => ["etlab","me690","vboxusers"] }
97
98
99
100
      User["sernatj"]        { groups => ["me690"] }
      User["smh75123"]       { groups => ["me690"] }
      User["slisenb"]        { groups => ["me690"] }

101
      User["dwb0126"]        { groups => ["etlab","vboxusers"] }
102
      User["echenne"]        { groups => ["vboxusers"] }
103
      User["evad19"]         { groups => ["etlab","vboxusers"] }
104
      User["hishamgh"]       { groups => ["vboxusers"] }
105
      User["hyde189"]        { groups => ["etlab","vboxusers"] }
106
107
      User["marker"]         { groups => ["vboxusers"] }
      User["msalama"]        { groups => ["vboxusers"] }
108

109
      User["eeveew"]         { groups => ["etlab"] }
110
111
      User["hmhjedi"]        { groups => ["etlab"] }
      User["scudport"]       { groups => ["etlab"] }
112

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