blob: 1c59bb88b9faf3655ecdf4810383088822705fe4 [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
24- system.openssh.server.team.members.scottmachtmes
25- system.openssh.server.team.members.zahedkhurasani
26# L2OPS
27- system.openssh.server.team.members.aepifanov
28- system.openssh.server.team.members.apetrenko
29- system.openssh.server.team.members.atarasov
30- system.openssh.server.team.members.dklepikov
31- system.openssh.server.team.members.dsutyagin
32- system.openssh.server.team.members.ekozhemyakin
33- system.openssh.server.team.members.enikanorov
34- system.openssh.server.team.members.fsoppelsa
35- system.openssh.server.team.members.manashkin
36- system.openssh.server.team.members.nkondra
Andrii Petrenkoaefc0b62017-08-24 10:51:28 -070037- system.openssh.server.team.members.nkabanova
Petr Michalec6e6ead42017-08-01 11:10:46 +020038- system.openssh.server.team.members.obryndzii
39- system.openssh.server.team.members.oliemieshko
40- system.openssh.server.team.members.sovsianikov
Petr Michalec6e6ead42017-08-01 11:10:46 +020041- system.openssh.server.team.members.cade
42- system.openssh.server.team.members.jmosher
43- system.openssh.server.team.members.ecantwell
44- system.openssh.server.team.members.lmercl
Petr Michalec6e6ead42017-08-01 11:10:46 +020045- system.openssh.server.team.members.osmola
46- system.openssh.server.team.members.pcizinsky
47- system.openssh.server.team.members.pmathews
48- system.openssh.server.team.members.pmichalec
49parameters:
50 _param:
Ales Komarek57388972017-08-30 14:57:19 +020051 linux_system_user_sudo: true
Petr Michalec6e6ead42017-08-01 11:10:46 +020052 linux:
53 system:
54 group:
55 supportl1:
56 enabled: false
Petr Michalec009b54c2017-08-10 12:31:31 +020057 name: supportl1
Petr Michalec6e6ead42017-08-01 11:10:46 +020058 supportl2:
59 enabled: false
Petr Michalec009b54c2017-08-10 12:31:31 +020060 name: supportl2
Petr Michalec6e6ead42017-08-01 11:10:46 +020061 support0:
Dmitrii Sutiagin8dc2ffb2017-08-18 12:43:38 -070062 enabled: false
Petr Michalec6e6ead42017-08-01 11:10:46 +020063 name: support0
64 support1:
Dmitrii Sutiagin8dc2ffb2017-08-18 12:43:38 -070065 enabled: false
Petr Michalec6e6ead42017-08-01 11:10:46 +020066 name: support1
Dmitrii Sutiagin8dc2ffb2017-08-18 12:43:38 -070067 support2:
68 enabled: false
69 name: support2
70 support3:
71 enabled: true
72 name: support3
Petr Michalec6e6ead42017-08-01 11:10:46 +020073 addusers:
74 # L1
Petr Michalec11eb1b02017-08-07 12:48:35 +020075 - ${linux:system:user:adobdin:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +020076 - ${linux:system:user:arubtsov:name}
77 - ${linux:system:user:aneliubin:name}
78 - ${linux:system:user:arodionov:name}
79 - ${linux:system:user:cmay:name}
80 - ${linux:system:user:dakhmetov:name}
81 - ${linux:system:user:dkostriukov:name}
82 - ${linux:system:user:dgoloshubov:name}
83 - ${linux:system:user:jdiaz:name}
84 - ${linux:system:user:jpalmerin:name}
85 - ${linux:system:user:kfranckowski:name}
86 - ${linux:system:user:mroark:name}
87 - ${linux:system:user:mefimov:name}
88 - ${linux:system:user:mkraynov:name}
89 - ${linux:system:user:nkabanova:name}
90 - ${linux:system:user:rsoto:name}
91 - ${linux:system:user:rsafonov:name}
Petr Michalec6e6ead42017-08-01 11:10:46 +020092 # L2OPS
Petr Michaleceea16bd2017-08-07 11:53:07 +020093 - ${linux:system:user:aepifanov:name}
94 - ${linux:system:user:apetrenko:name}
95 - ${linux:system:user:atarasov:name}
96 - ${linux:system:user:dklepikov:name}
97 - ${linux:system:user:dsutyagin:name}
Petr Michalec4ebbc4b2017-08-07 12:18:22 +020098 - ${linux:system:user:ekozhemyakin:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +020099 - ${linux:system:user:enikanorov:name}
100 - ${linux:system:user:fsoppelsa:name}
101 - ${linux:system:user:manashkin:name}
102 - ${linux:system:user:nkondra:name}
Andrii Petrenkoaefc0b62017-08-24 10:51:28 -0700103 - ${linux:system:user:nkabanova:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200104 - ${linux:system:user:obryndzii:name}
105 - ${linux:system:user:oliemieshko:name}
106 - ${linux:system:user:sovsianikov:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200107 - ${linux:system:user:pmichalec:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200108 - ${linux:system:user:pcizinsky:name}
109 - ${linux:system:user:osmola:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200110 - ${linux:system:user:jmosher:name}
Petr Michaleceea16bd2017-08-07 11:53:07 +0200111 - ${linux:system:user:lmercl:name}
Petr Michalec6e6ead42017-08-01 11:10:46 +0200112 sudo:
113 enabled: true
114 aliases:
115 command:
116 SUPPORT_SALT: ${_param:sudo_salt_safe}
117 SUPPORT_SALT_TRUSTED: ${_param:sudo_salt_trusted}
118 SUPPORT_RESTRICTED_SHELLS: ${_param:sudo_shells}
119 SUPPORT_RESTRICTED_SU: ${_param:sudo_restricted_su}
120 SUPPORT_COREUTILS: ${_param:sudo_coreutils_safe}
121 SUPPORT_RABBITMQ: ${_param:sudo_rabbitmq_safe}
122 SUPPORT_SALT_TRUSTED: ${_param:sudo_salt_trusted}
123 SUPPORT_NETWORKING: ${_param:sudo_networking}
124 SUPPORT_CONTRAIL: ${_param:sudo_contrail_utilities}
125 SUPPORT_STORAGE: ${_param:sudo_storage_utilities}
126 SUPPORT_OPENSTACK_CLIENTS: ${_param:sudo_openstack_clients}
127 groups:
128 support0:
129 # This group should have only RO access to non-sensitive data and commands
130 # assumed usage: common operations, non experienced, non technical users.
131 commands:
132 - SUPPORT_SALT
133 - '!SUPPORT_RESTRICTED_SHELLS'
134 - '!SUPPORT_RESTRICTED_SU'
135 support1:
136 # This group should have access to safe, trusted, commands
137 commands:
138 - SUPPORT_SALT
139 - SUPPORT_COREUTILS
140 - SUPPORT_RABBITMQ
141 - SUPPORT_NETWORKING
142 - SUPPORT_CONTRAIL
143 - SUPPORT_STORAGE
144 - SUPPORT_OPENSTACK_CLIENTS
145 - '!SUPPORT_RESTRICTED_SHELLS'
146 - '!SUPPORT_RESTRICTED_SU'
147 support2:
148 # This group should have access to any command using sudo
149 commands:
150 - SUPPORT_SALT
151 - SUPPORT_SALT_TRUSTED
152 - SUPPORT_COREUTILS
153 - SUPPORT_RABBITMQ
154 - SUPPORT_NETWORKING
155 - SUPPORT_CONTRAIL
156 - SUPPORT_STORAGE
157 - SUPPORT_OPENSTACK_CLIENTS
158 - '!SUPPORT_RESTRICTED_SHELLS'
159 - '!SUPPORT_RESTRICTED_SU'
160 support3:
161 # It's never safe to run unlimited number of commands with sudo.
162 # Use with caution.
Dmitrii Sutiagin0c7348d2017-08-24 16:24:32 -0700163 setenv: true
Petr Michalec6e6ead42017-08-01 11:10:46 +0200164 commands:
165 - ALL