mephisto_users.pp 6.15 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: {
Mike Hanby's avatar
Mike Hanby committed
67
      User["gmyers"]         { gid => ["gmyers"], groups +> ["me"] }
68
      User["kmelliso"]       { gid => ["kmelliso"], groups +> ["me"] }
69
70
      User["mmullane"]       { gid => ["mmullane"], groups +> ["me"] }
      
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
      # Add shum and dino-theodorou to group citronelle
      User["shum"]           { groups => ["citronelle","etlabadmins","vboxusers"] }
      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"] }
89
      User["psw22"]          { groups => ["etlab","me690","vboxusers"] }
90
91
92
93
      User["sernatj"]        { groups => ["me690"] }
      User["smh75123"]       { groups => ["me690"] }
      User["slisenb"]        { groups => ["me690"] }

94
      User["dwb0126"]        { groups => ["etlab","vboxusers"] }
95
      User["echenne"]        { groups => ["vboxusers"] }
96
      User["evad19"]         { groups => ["etlab","vboxusers"] }
97
      User["hishamgh"]       { groups => ["vboxusers"] }
98
      User["hyde189"]        { groups => ["etlab","vboxusers"] }
99
100
      User["marker"]         { groups => ["vboxusers"] }
      User["msalama"]        { groups => ["vboxusers"] }
101
      
102
      User["eeveew"]         { groups => ["etlab"] }
103
104
      User["hmhjedi"]        { groups => ["etlab"] }
      User["scudport"]       { groups => ["etlab"] }
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119

      # Realize full time users of mephisto 
      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"],
120
        User["afraser"],
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
        User["ahcartner"],
        User["amitesh"],
        User["andreidg"],
        User["apsiegel"],
        User["ashih"],
        User["babi"],
        User["balaji"],
        User["bgeiwill"],
        User["bhautik"],
        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"],
148
        User["gary"],
Mike Hanby's avatar
Mike Hanby committed
149
150
        User["gmyers"],
        Group["gmyers"],
151
152
153
154
        User["gpekmezi"],
        User["harsh5"],
        User["hishamgh"],
        User["hitzfiel"],
155
        User["hmhjedi"],
156
157
158
159
        User["hyde189"],
        User["jace16"],
        User["jaken"],
        User["japatton"],
160
        User["jeremiah"],
161
        User["j_hayes1278"],
162
        User["jhiggs"],
163
164
165
166
167
168
        User["jkim"],
        User["kbfarley"],
        User["kdn"],
        User["ketaki"],
        User["kj878"],
        User["kmanne09"],
169
170
        User["kmelliso"],
        Group["kmelliso"],
171
172
        User["kngine"],
        User["knord137"],
173
174
        User["kschrum"],
        Group["kschrum"],
175
176
177
178
179
        User["kwalls71"],
        User["lalitroy"],
        User["ldong"],
        User["lee929"],
        User["marker"],
180
        User["mcglowna"],
181
        User["mek"],
182
183
        User["mmullane"],
        Group["mmullane"],
184
        User["msalama"],
185
        User["mselim"],
186
187
188
189
190
191
192
193
194
        User["ncarpent"],
        User["ndgray"],
        User["nitin"],
        User["pilgrim"],
        User["prapanj"],
        User["psw22"],
        User["pwalsh"],
        User["rcloud"],
        User["roy"],
195
196
        User["sakles"],
        User["salonika"],
197
        User["saurabh"],
198
        User["scudport"],
199
200
201
202
203
        User["sernatj"],
        User["shravang"],
        User["shum"],
        User["skulathu"],
        User["slisenb"],
204
        User["smh75123"],
205
206
207
208
209
210
211
212
213
        User["stuicism"],
        User["therohit"],
        User["tuptain"],
        User["waltchen"],
        User["wenbin"],
        User["whz"],
        User["wytemike"],
        User["yito"],
        User["ykim"],
214
        User["ywarsi"]
215
216
217
      )
    }
  }
218
}