blob: 046aa9bc7d6fb449670d385fd37b4adc9e10678c [file] [log] [blame]
Dmitrii Sutiagin5c8d8d82017-11-02 17:43:08 -07001## DEPRECATED, this class will be removed 01/2018
2## please integrate submodule opscare instead
3## https://gerrit.mirantis.com/#/admin/projects/mmo-support/reclass-opscare
Petr Michalec6e6ead42017-08-01 11:10:46 +02004classes:
5- system.linux.system.sudo
6# L1
7- system.openssh.server.team.members.aleksandrdobdin
8- system.openssh.server.team.members.aleksandrrubtsov
9- system.openssh.server.team.members.anatoliineliubin
10- system.openssh.server.team.members.antonrodionov
11- system.openssh.server.team.members.collinmay
12- system.openssh.server.team.members.danilakhmetov
13- system.openssh.server.team.members.deniskostriukov
14- system.openssh.server.team.members.dmitrygoloshubov
15- system.openssh.server.team.members.javierdiaz
Matthew Roark2e686bb2017-09-29 13:08:18 -050016- system.openssh.server.team.members.jorgesorondo
Petr Michalec6e6ead42017-08-01 11:10:46 +020017- system.openssh.server.team.members.josuepalmerin
18- system.openssh.server.team.members.krzysztoffranckowski
19- system.openssh.server.team.members.matthewroark
20- system.openssh.server.team.members.maximefimov
21- system.openssh.server.team.members.mikhailkraynov
Petr Michalec6e6ead42017-08-01 11:10:46 +020022- system.openssh.server.team.members.renesoto
23- system.openssh.server.team.members.rsafonov
Margarita Mazepab16cbe02018-03-21 16:28:40 +040024- system.openssh.server.team.members.mmazepa
Petr Michalec6e6ead42017-08-01 11:10:46 +020025- system.openssh.server.team.members.scottmachtmes
26- system.openssh.server.team.members.zahedkhurasani
27# L2OPS
28- system.openssh.server.team.members.aepifanov
29- system.openssh.server.team.members.apetrenko
30- system.openssh.server.team.members.atarasov
31- system.openssh.server.team.members.dklepikov
32- system.openssh.server.team.members.dsutyagin
33- system.openssh.server.team.members.ekozhemyakin
34- system.openssh.server.team.members.enikanorov
35- system.openssh.server.team.members.fsoppelsa
36- system.openssh.server.team.members.manashkin
37- system.openssh.server.team.members.nkondra
Andrii Petrenkoaefc0b62017-08-24 10:51:28 -070038- system.openssh.server.team.members.nkabanova
Petr Michalec6e6ead42017-08-01 11:10:46 +020039- system.openssh.server.team.members.obryndzii
40- system.openssh.server.team.members.oliemieshko
41- system.openssh.server.team.members.sovsianikov
Petr Michalec6e6ead42017-08-01 11:10:46 +020042- system.openssh.server.team.members.cade
43- system.openssh.server.team.members.jmosher
44- system.openssh.server.team.members.ecantwell
45- system.openssh.server.team.members.lmercl
Petr Michalec6e6ead42017-08-01 11:10:46 +020046- system.openssh.server.team.members.osmola
47- system.openssh.server.team.members.pcizinsky
48- system.openssh.server.team.members.pmathews
49- system.openssh.server.team.members.pmichalec
50parameters:
51 _param:
Ales Komarek57388972017-08-30 14:57:19 +020052 linux_system_user_sudo: true
Petr Michalec6e6ead42017-08-01 11:10:46 +020053 linux:
54 system:
55 group:
56 supportl1:
57 enabled: false
Petr Michalec009b54c2017-08-10 12:31:31 +020058 name: supportl1
Petr Michalec6e6ead42017-08-01 11:10:46 +020059 supportl2:
60 enabled: false
Petr Michalec009b54c2017-08-10 12:31:31 +020061 name: supportl2
Petr Michalec6e6ead42017-08-01 11:10:46 +020062 support0:
Dmitrii Sutiagin8dc2ffb2017-08-18 12:43:38 -070063 enabled: false
Petr Michalec6e6ead42017-08-01 11:10:46 +020064 name: support0
65 support1:
Dmitrii Sutiagin8dc2ffb2017-08-18 12:43:38 -070066 enabled: false
Petr Michalec6e6ead42017-08-01 11:10:46 +020067 name: support1
Dmitrii Sutiagin8dc2ffb2017-08-18 12:43:38 -070068 support2:
69 enabled: false
70 name: support2
71 support3:
72 enabled: true
73 name: support3
Petr Michalec6e6ead42017-08-01 11:10:46 +020074 addusers:
75 # L1
Petr Michalec11eb1b02017-08-07 12:48:35 +020076 - ${linux:system:user:adobdin:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +020077 - ${linux:system:user:arubtsov:name}
78 - ${linux:system:user:aneliubin:name}
79 - ${linux:system:user:arodionov:name}
80 - ${linux:system:user:cmay:name}
81 - ${linux:system:user:dakhmetov:name}
82 - ${linux:system:user:dkostriukov:name}
83 - ${linux:system:user:dgoloshubov:name}
84 - ${linux:system:user:jdiaz:name}
85 - ${linux:system:user:jpalmerin:name}
86 - ${linux:system:user:kfranckowski:name}
87 - ${linux:system:user:mroark:name}
88 - ${linux:system:user:mefimov:name}
89 - ${linux:system:user:mkraynov:name}
90 - ${linux:system:user:nkabanova:name}
91 - ${linux:system:user:rsoto:name}
92 - ${linux:system:user:rsafonov:name}
Petr Michalec6e6ead42017-08-01 11:10:46 +020093 # L2OPS
Petr Michaleceea16bd2017-08-07 11:53:07 +020094 - ${linux:system:user:aepifanov:name}
95 - ${linux:system:user:apetrenko:name}
96 - ${linux:system:user:atarasov:name}
97 - ${linux:system:user:dklepikov:name}
98 - ${linux:system:user:dsutyagin:name}
Petr Michalec4ebbc4b2017-08-07 12:18:22 +020099 - ${linux:system:user:ekozhemyakin:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200100 - ${linux:system:user:enikanorov:name}
101 - ${linux:system:user:fsoppelsa:name}
102 - ${linux:system:user:manashkin:name}
103 - ${linux:system:user:nkondra:name}
Andrii Petrenkoaefc0b62017-08-24 10:51:28 -0700104 - ${linux:system:user:nkabanova:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200105 - ${linux:system:user:obryndzii:name}
106 - ${linux:system:user:oliemieshko:name}
107 - ${linux:system:user:sovsianikov:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200108 - ${linux:system:user:pmichalec:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200109 - ${linux:system:user:pcizinsky:name}
110 - ${linux:system:user:osmola:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200111 - ${linux:system:user:jmosher:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200112 - ${linux:system:user:lmercl:name}
Petr Michalec6e6ead42017-08-01 11:10:46 +0200113 sudo:
114 enabled: true
115 aliases:
116 command:
117 SUPPORT_SALT: ${_param:sudo_salt_safe}
118 SUPPORT_SALT_TRUSTED: ${_param:sudo_salt_trusted}
119 SUPPORT_RESTRICTED_SHELLS: ${_param:sudo_shells}
120 SUPPORT_RESTRICTED_SU: ${_param:sudo_restricted_su}
121 SUPPORT_COREUTILS: ${_param:sudo_coreutils_safe}
122 SUPPORT_RABBITMQ: ${_param:sudo_rabbitmq_safe}
123 SUPPORT_SALT_TRUSTED: ${_param:sudo_salt_trusted}
124 SUPPORT_NETWORKING: ${_param:sudo_networking}
125 SUPPORT_CONTRAIL: ${_param:sudo_contrail_utilities}
126 SUPPORT_STORAGE: ${_param:sudo_storage_utilities}
127 SUPPORT_OPENSTACK_CLIENTS: ${_param:sudo_openstack_clients}
128 groups:
129 support0:
130 # This group should have only RO access to non-sensitive data and commands
131 # assumed usage: common operations, non experienced, non technical users.
132 commands:
133 - SUPPORT_SALT
134 - '!SUPPORT_RESTRICTED_SHELLS'
135 - '!SUPPORT_RESTRICTED_SU'
136 support1:
137 # This group should have access to safe, trusted, commands
138 commands:
139 - SUPPORT_SALT
140 - SUPPORT_COREUTILS
141 - SUPPORT_RABBITMQ
142 - SUPPORT_NETWORKING
143 - SUPPORT_CONTRAIL
144 - SUPPORT_STORAGE
145 - SUPPORT_OPENSTACK_CLIENTS
146 - '!SUPPORT_RESTRICTED_SHELLS'
147 - '!SUPPORT_RESTRICTED_SU'
148 support2:
149 # This group should have access to any command using sudo
150 commands:
151 - SUPPORT_SALT
152 - SUPPORT_SALT_TRUSTED
153 - SUPPORT_COREUTILS
154 - SUPPORT_RABBITMQ
155 - SUPPORT_NETWORKING
156 - SUPPORT_CONTRAIL
157 - SUPPORT_STORAGE
158 - SUPPORT_OPENSTACK_CLIENTS
159 - '!SUPPORT_RESTRICTED_SHELLS'
160 - '!SUPPORT_RESTRICTED_SU'
161 support3:
162 # It's never safe to run unlimited number of commands with sudo.
163 # Use with caution.
Dmitrii Sutiagin0c7348d2017-08-24 16:24:32 -0700164 setenv: true
Petr Michalec6e6ead42017-08-01 11:10:46 +0200165 commands:
166 - ALL