Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 1 | classes: |
| 2 | - system.linux.system.sudo |
| 3 | # L1 |
| 4 | - system.openssh.server.team.members.aleksandrdobdin |
| 5 | - system.openssh.server.team.members.aleksandrrubtsov |
| 6 | - system.openssh.server.team.members.anatoliineliubin |
| 7 | - system.openssh.server.team.members.antonrodionov |
| 8 | - system.openssh.server.team.members.collinmay |
| 9 | - system.openssh.server.team.members.danilakhmetov |
| 10 | - system.openssh.server.team.members.deniskostriukov |
| 11 | - system.openssh.server.team.members.dmitrygoloshubov |
| 12 | - system.openssh.server.team.members.javierdiaz |
| 13 | - system.openssh.server.team.members.josuepalmerin |
| 14 | - system.openssh.server.team.members.krzysztoffranckowski |
| 15 | - system.openssh.server.team.members.matthewroark |
| 16 | - system.openssh.server.team.members.maximefimov |
| 17 | - system.openssh.server.team.members.mikhailkraynov |
| 18 | - system.openssh.server.team.members.nadezhdakabanova |
| 19 | - system.openssh.server.team.members.renesoto |
| 20 | - system.openssh.server.team.members.rsafonov |
| 21 | - system.openssh.server.team.members.scottmachtmes |
| 22 | - system.openssh.server.team.members.zahedkhurasani |
| 23 | # L2OPS |
| 24 | - system.openssh.server.team.members.aepifanov |
| 25 | - system.openssh.server.team.members.apetrenko |
| 26 | - system.openssh.server.team.members.atarasov |
| 27 | - system.openssh.server.team.members.dklepikov |
| 28 | - system.openssh.server.team.members.dsutyagin |
| 29 | - system.openssh.server.team.members.ekozhemyakin |
| 30 | - system.openssh.server.team.members.enikanorov |
| 31 | - system.openssh.server.team.members.fsoppelsa |
| 32 | - system.openssh.server.team.members.manashkin |
| 33 | - system.openssh.server.team.members.nkondra |
| 34 | - system.openssh.server.team.members.obryndzii |
| 35 | - system.openssh.server.team.members.oliemieshko |
| 36 | - system.openssh.server.team.members.sovsianikov |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 37 | - system.openssh.server.team.members.cade |
| 38 | - system.openssh.server.team.members.jmosher |
| 39 | - system.openssh.server.team.members.ecantwell |
| 40 | - system.openssh.server.team.members.lmercl |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 41 | - system.openssh.server.team.members.osmola |
| 42 | - system.openssh.server.team.members.pcizinsky |
| 43 | - system.openssh.server.team.members.pmathews |
| 44 | - system.openssh.server.team.members.pmichalec |
| 45 | parameters: |
| 46 | _param: |
| 47 | linux_system_user_sudo: false |
| 48 | linux: |
| 49 | system: |
| 50 | group: |
| 51 | supportl1: |
| 52 | enabled: false |
Petr Michalec | 009b54c | 2017-08-10 12:31:31 +0200 | [diff] [blame] | 53 | name: supportl1 |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 54 | supportl2: |
| 55 | enabled: false |
Petr Michalec | 009b54c | 2017-08-10 12:31:31 +0200 | [diff] [blame] | 56 | name: supportl2 |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 57 | support0: |
Dmitrii Sutiagin | 8dc2ffb | 2017-08-18 12:43:38 -0700 | [diff] [blame^] | 58 | enabled: false |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 59 | name: support0 |
| 60 | support1: |
Dmitrii Sutiagin | 8dc2ffb | 2017-08-18 12:43:38 -0700 | [diff] [blame^] | 61 | enabled: false |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 62 | name: support1 |
Dmitrii Sutiagin | 8dc2ffb | 2017-08-18 12:43:38 -0700 | [diff] [blame^] | 63 | support2: |
| 64 | enabled: false |
| 65 | name: support2 |
| 66 | support3: |
| 67 | enabled: true |
| 68 | name: support3 |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 69 | addusers: |
| 70 | # L1 |
Petr Michalec | 11eb1b0 | 2017-08-07 12:48:35 +0200 | [diff] [blame] | 71 | - ${linux:system:user:adobdin:name} |
Petr Michalec | eea16bd | 2017-08-07 11:53:07 +0200 | [diff] [blame] | 72 | - ${linux:system:user:arubtsov:name} |
| 73 | - ${linux:system:user:aneliubin:name} |
| 74 | - ${linux:system:user:arodionov:name} |
| 75 | - ${linux:system:user:cmay:name} |
| 76 | - ${linux:system:user:dakhmetov:name} |
| 77 | - ${linux:system:user:dkostriukov:name} |
| 78 | - ${linux:system:user:dgoloshubov:name} |
| 79 | - ${linux:system:user:jdiaz:name} |
| 80 | - ${linux:system:user:jpalmerin:name} |
| 81 | - ${linux:system:user:kfranckowski:name} |
| 82 | - ${linux:system:user:mroark:name} |
| 83 | - ${linux:system:user:mefimov:name} |
| 84 | - ${linux:system:user:mkraynov:name} |
| 85 | - ${linux:system:user:nkabanova:name} |
| 86 | - ${linux:system:user:rsoto:name} |
| 87 | - ${linux:system:user:rsafonov:name} |
| 88 | - ${linux:system:user:smachtmes:name} |
| 89 | - ${linux:system:user:zkhurasani:name} |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 90 | # L2OPS |
Petr Michalec | eea16bd | 2017-08-07 11:53:07 +0200 | [diff] [blame] | 91 | - ${linux:system:user:aepifanov:name} |
| 92 | - ${linux:system:user:apetrenko:name} |
| 93 | - ${linux:system:user:atarasov:name} |
| 94 | - ${linux:system:user:dklepikov:name} |
| 95 | - ${linux:system:user:dsutyagin:name} |
Petr Michalec | 4ebbc4b | 2017-08-07 12:18:22 +0200 | [diff] [blame] | 96 | - ${linux:system:user:ekozhemyakin:name} |
Petr Michalec | eea16bd | 2017-08-07 11:53:07 +0200 | [diff] [blame] | 97 | - ${linux:system:user:enikanorov:name} |
| 98 | - ${linux:system:user:fsoppelsa:name} |
| 99 | - ${linux:system:user:manashkin:name} |
| 100 | - ${linux:system:user:nkondra:name} |
| 101 | - ${linux:system:user:obryndzii:name} |
| 102 | - ${linux:system:user:oliemieshko:name} |
| 103 | - ${linux:system:user:sovsianikov:name} |
Petr Michalec | eea16bd | 2017-08-07 11:53:07 +0200 | [diff] [blame] | 104 | - ${linux:system:user:pmichalec:name} |
| 105 | - ${linux:system:user:pmathews:name} |
| 106 | - ${linux:system:user:pcizinsky:name} |
| 107 | - ${linux:system:user:osmola:name} |
| 108 | - ${linux:system:user:cade:name} |
| 109 | - ${linux:system:user:jmosher:name} |
| 110 | - ${linux:system:user:ecantwell:name} |
| 111 | - ${linux:system:user:lmercl:name} |
Petr Michalec | 6e6ead4 | 2017-08-01 11:10:46 +0200 | [diff] [blame] | 112 | 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. |
| 163 | commands: |
| 164 | - ALL |