Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 1 | linux: |
| 2 | system: |
| 3 | enabled: true |
| 4 | cluster: default |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 5 | name: linux |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 6 | domain: local |
| 7 | environment: prd |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 8 | hostname: system.pillar.local |
Jiri Broulik | 25839cc | 2017-04-18 17:05:20 +0200 | [diff] [blame] | 9 | purge_repos: true |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 10 | apparmor: |
| 11 | enabled: false |
Filip Pytloun | 8296bb9 | 2016-02-19 18:42:09 +0100 | [diff] [blame] | 12 | haveged: |
| 13 | enabled: true |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 14 | prompt: |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 15 | default: "linux.ci.local$" |
Jakub Pavlik | b148c8c | 2017-02-12 21:30:48 +0100 | [diff] [blame] | 16 | kernel: |
Jakub Pavlik | 6c9ead1 | 2017-02-16 21:53:13 +0100 | [diff] [blame] | 17 | isolcpu: 1,2,3,4 |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 18 | motd: |
| 19 | - warning: | |
| 20 | #!/bin/sh |
| 21 | printf "WARNING: This is tcpcloud network.\n" |
| 22 | printf " Unauthorized access is strictly prohibited.\n" |
| 23 | printf "\n" |
| 24 | - info: | |
| 25 | #!/bin/sh |
| 26 | printf -- "--[tcp cloud]---------------------------\n" |
| 27 | printf " Hostname | ${linux:system:name}\n" |
| 28 | printf " Domain | ${linux:system:domain}\n" |
| 29 | printf " System | %s\n" "$(lsb_release -s -d)" |
| 30 | printf " Kernel | %s\n" "$(uname -r)" |
| 31 | printf -- "----------------------------------------\n" |
| 32 | printf "\n" |
| 33 | user: |
| 34 | root: |
| 35 | enabled: true |
| 36 | home: /root |
| 37 | name: root |
Filip Pytloun | 54cb363 | 2017-06-14 11:56:59 +0200 | [diff] [blame] | 38 | testuser: |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 39 | enabled: true |
Filip Pytloun | 54cb363 | 2017-06-14 11:56:59 +0200 | [diff] [blame] | 40 | name: testuser |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 41 | sudo: true |
| 42 | uid: 9999 |
| 43 | full_name: Test User |
| 44 | home: /home/test |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 45 | groups: |
Filip Pytloun | d281d29 | 2017-05-30 15:55:37 +0200 | [diff] [blame] | 46 | - db-ops |
| 47 | - salt-ops |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 48 | salt_user1: |
| 49 | enabled: true |
| 50 | name: saltuser1 |
| 51 | sudo: false |
| 52 | uid: 9991 |
| 53 | full_name: Salt User1 |
| 54 | home: /home/saltuser1 |
| 55 | salt_user2: |
| 56 | enabled: true |
| 57 | name: saltuser2 |
| 58 | sudo: false |
| 59 | uid: 9992 |
| 60 | full_name: Salt Sudo User2 |
| 61 | home: /home/saltuser2 |
Filip Pytloun | d281d29 | 2017-05-30 15:55:37 +0200 | [diff] [blame] | 62 | groups: |
| 63 | - sudogroup1 |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 64 | group: |
Filip Pytloun | 54cb363 | 2017-06-14 11:56:59 +0200 | [diff] [blame] | 65 | testgroup: |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 66 | enabled: true |
Filip Pytloun | 54cb363 | 2017-06-14 11:56:59 +0200 | [diff] [blame] | 67 | name: testgroup |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 68 | gid: 9999 |
| 69 | system: true |
Petr Michalec | 3cd4cb7 | 2017-08-01 11:50:42 +0200 | [diff] [blame] | 70 | addusers: |
| 71 | - salt_user1 |
| 72 | - salt_user2 |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 73 | db-ops: |
| 74 | enabled: true |
Petr Michalec | 3cd4cb7 | 2017-08-01 11:50:42 +0200 | [diff] [blame] | 75 | delusers: |
| 76 | - salt_user1 |
Petr Michalec | a17ea5a | 2017-08-08 15:46:03 +0200 | [diff] [blame^] | 77 | - dontexistatall |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 78 | salt-ops: |
| 79 | enabled: true |
Filip Pytloun | d281d29 | 2017-05-30 15:55:37 +0200 | [diff] [blame] | 80 | name: salt-ops |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 81 | sudogroup1: |
| 82 | enabled: true |
| 83 | name: sudogroup1 |
| 84 | sudogroup2: |
| 85 | enabled: true |
| 86 | name: sudogroup2 |
| 87 | sudogroup3: |
| 88 | enabled: false |
| 89 | name: sudogroup3 |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 90 | job: |
| 91 | test: |
| 92 | enabled: true |
| 93 | command: "/bin/sleep 3" |
Filip Pytloun | 54cb363 | 2017-06-14 11:56:59 +0200 | [diff] [blame] | 94 | user: testuser |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 95 | minute: 0 |
| 96 | hour: 13 |
| 97 | package: |
| 98 | htop: |
| 99 | version: latest |
| 100 | repo: |
| 101 | opencontrail: |
Petr Michalec | 10462bb | 2017-03-23 19:18:08 +0100 | [diff] [blame] | 102 | source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main" |
| 103 | keyid: E79EE90C |
| 104 | keyserver: keyserver.ubuntu.com |
| 105 | architectures: amd64 |
| 106 | proxy: |
| 107 | enabled: true |
| 108 | https: https://127.0.5.1:443 |
| 109 | #http: http://127.0.5.2:8080 |
| 110 | apt-mk-salt: |
| 111 | source: "deb http://apt-mk.mirantis.com/xenial stable salt" |
Petr Michalec | 1ae62b1 | 2017-04-27 14:35:13 +0200 | [diff] [blame] | 112 | #key_url: http://apt-mk.mirantis.com/public.gpg |
| 113 | key: | |
| 114 | -----BEGIN PGP PUBLIC KEY BLOCK----- |
| 115 | Version: GnuPG v1 |
| 116 | |
| 117 | mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY |
| 118 | zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke |
| 119 | xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A |
| 120 | mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR |
| 121 | i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ |
| 122 | 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYLIB8UjywN+VDqwkNk9jLUSXHTakh |
| 123 | dnL4OuGoNpIzms8juVFlnuOmx+FcfbHMbhAc7aPqFK+6J3YS4kJSfeHWJ6cTGoU1 |
| 124 | cLWEhsbU3Gp8am5fnh72RJ7v2sTe/rvCuVtlNufi5SyBPcEUZoxFVWAC/hMeiWzy |
| 125 | drBIVC73raf+A+OjH8op9XfkVj6czxQ/451soe3jvCDGgTXPLlts+P5WhgWNpDPa |
| 126 | fOfTHn/2o7NwoM7Vp+BQYKAQ78phsolvNNhf+g51ntoLUbxAGKZYzQ5RPsKo+Hq6 |
| 127 | 96UCFkqhSABk0DvM0LtquzZ+sNoipd02w8EaxQzelDJxvPFGigo1uqGoiQARAQAB |
| 128 | tCx0Y3BjbG91ZCBzaWduaW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D2jnkBffYL055p/r1Ers+iTTNOas/0uc50C32xR823rQ2Nl6/ffIM6 |
| 144 | JqfQenhRvqUWPj9oqESHMsqEdceSwS/VC7RN4xQXJXfEWu2q4Ahs62RmvCXnTw1A |
| 145 | sPcpysoBoo8IW+V1MVQEZuAJRn2AGO/Q7uY9TR4guHb3wXRfZ3k0KVUsyqqdusJi |
| 146 | T3DxxBw6GcKdOH6t41Ys3eYgOrc+RcSdcHYSpxaLvEIhwzarZ+mqcp3gz/JkPlXS |
| 147 | 2tx2l6NZHcgReOM7IhqMuxzBbpcrsbBmLBemC+u7hoPTjUdTHKEwvWaeXL4vgsqQ |
| 148 | BbEeKmXep5sZg3kHtpXzY9ZfPQrtGB8vHGrfaZIcCKuXwZWGL5GGWKw3TSP4fAIA |
| 149 | jLxLf5MyyXcsugbai2OY/H4sAuvJHsmGtergGknuR+iFdt5el1wgRKP1r1KdmvMm |
| 150 | wsSayc6eSEKd689x3zsmAtnhYM31oMkPdeYRbnN15gLG7vcsVe4jug0YTqQt2WGn |
| 151 | hwjBA0i2qfTorXemWChsxKllvY9aB3ST8I6RMat0kS08FMD+Ced/ABEBAAGJAh8E |
| 152 | GAECAAkFAlWBfCICGwwACgkQJACFCadogtNicA/9HOM402VGHlmuYPcrvEThHqMK |
| 153 | KOTtNFsrrPp67dGYaT8TGTgy1OG4Oys2y+hrwqnUK6dXJxX2/RBfRuO/gw65RCfC |
| 154 | 9nWeMkqJTjHJCKNTYfXN4O4ag444UZPcOMq+IyiWF3/sh674zCkCm5DQ/FH8IJ8Y |
| 155 | n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ |
| 156 | QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al |
| 157 | Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd |
| 158 | SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI |
| 159 | +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt |
| 160 | 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F |
| 161 | ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt |
| 162 | MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy |
| 163 | jtcwJrHue5Xn8UPSLkE= |
| 164 | =SWiA |
| 165 | -----END PGP PUBLIC KEY BLOCK----- |
Petr Michalec | 10462bb | 2017-03-23 19:18:08 +0100 | [diff] [blame] | 166 | architectures: amd64 |
| 167 | proxy: |
| 168 | enabled: true |
| 169 | apt-mk-salt-nightly: |
| 170 | source: "deb http://apt-mk.mirantis.com/xenial nightly salt" |
| 171 | key_url: http://apt-mk.mirantis.com/public.gpg |
| 172 | architectures: amd64 |
| 173 | proxy: |
| 174 | enabled: false |
| 175 | apt-mk-extra-nightly: |
| 176 | source: "deb http://apt-mk.mirantis.com/xenial nightly extra" |
| 177 | key_url: http://apt-mk.mirantis.com/public.gpg |
Filip Pytloun | a189857 | 2016-01-25 22:35:13 +0100 | [diff] [blame] | 178 | architectures: amd64 |
Filip Pytloun | c49445a | 2016-04-04 14:23:20 +0200 | [diff] [blame] | 179 | locale: |
| 180 | en_US.UTF-8: |
| 181 | enabled: true |
| 182 | default: true |
Filip Pytloun | ee1745f | 2016-04-04 17:39:41 +0200 | [diff] [blame] | 183 | "cs_CZ.UTF-8 UTF-8": |
Filip Pytloun | c49445a | 2016-04-04 14:23:20 +0200 | [diff] [blame] | 184 | enabled: true |
Filip Pytloun | c665ee2 | 2017-02-17 12:17:32 +0100 | [diff] [blame] | 185 | autoupdates: |
| 186 | enabled: true |
Petr Michalec | 1c4c8d8 | 2017-02-28 19:09:21 +0100 | [diff] [blame] | 187 | sudo: |
| 188 | enabled: true |
| 189 | alias: |
| 190 | runas: |
| 191 | DBA: |
| 192 | - postgres |
| 193 | - mysql |
| 194 | SALT: |
| 195 | - root |
| 196 | host: |
| 197 | LOCAL: |
| 198 | - localhost |
| 199 | PRODUCTION: |
| 200 | - db1 |
| 201 | - db2 |
| 202 | command: |
| 203 | SUDO_RESTRICTED_SU: |
| 204 | - /bin/vi /etc/sudoers |
| 205 | - /bin/su - root |
| 206 | - /bin/su - |
| 207 | - /bin/su |
| 208 | - /usr/sbin/visudo |
| 209 | SUDO_SHELLS: |
| 210 | - /bin/sh |
| 211 | - /bin/ksh |
| 212 | - /bin/bash |
| 213 | - /bin/rbash |
| 214 | - /bin/dash |
| 215 | - /bin/zsh |
| 216 | - /bin/csh |
| 217 | - /bin/fish |
| 218 | - /bin/tcsh |
| 219 | - /usr/bin/login |
| 220 | - /usr/bin/su |
| 221 | - /usr/su |
| 222 | SUDO_SALT_SAFE: |
| 223 | - /usr/bin/salt state* |
| 224 | - /usr/bin/salt service* |
| 225 | - /usr/bin/salt pillar* |
| 226 | - /usr/bin/salt grains* |
| 227 | - /usr/bin/salt saltutil* |
| 228 | - /usr/bin/salt-call state* |
| 229 | - /usr/bin/salt-call service* |
| 230 | - /usr/bin/salt-call pillar* |
| 231 | - /usr/bin/salt-call grains* |
| 232 | - /usr/bin/salt-call saltutil* |
| 233 | SUDO_SALT_TRUSTED: |
| 234 | - /usr/bin/salt* |
| 235 | users: |
| 236 | saltuser1: {} |
| 237 | saltuser2: |
| 238 | hosts: |
| 239 | - LOCAL |
| 240 | # User Alias: |
| 241 | DBA: |
| 242 | hosts: |
| 243 | - ALL |
| 244 | commands: |
| 245 | - SUDO_SALT_SAFE |
| 246 | groups: |
| 247 | db-ops: |
| 248 | hosts: |
| 249 | - ALL |
| 250 | - '!PRODUCTION' |
| 251 | runas: |
| 252 | - DBA |
| 253 | commands: |
| 254 | - /bin/cat * |
| 255 | - /bin/less * |
| 256 | - /bin/ls * |
| 257 | - SUDO_SALT_SAFE |
| 258 | - '!SUDO_SHELLS' |
| 259 | - '!SUDO_RESTRICTED_SU' |
| 260 | salt-ops: |
| 261 | hosts: |
| 262 | - 'ALL' |
| 263 | runas: |
| 264 | - SALT |
| 265 | commands: |
| 266 | - SUDO_SALT_TRUSTED |
| 267 | salt-ops2: |
| 268 | name: salt-ops |
| 269 | runas: |
| 270 | - DBA |
| 271 | commands: |
| 272 | - SUDO_SHELLS |
| 273 | sudogroup1: |
| 274 | commands: |
| 275 | - ALL |
| 276 | sudogroup2: |
| 277 | commands: |
| 278 | - ALL |
| 279 | hosts: |
| 280 | - localhost |
| 281 | users: |
| 282 | - test |
| 283 | nopasswd: false |
| 284 | sudogroup3: |
| 285 | commands: |
| 286 | - ALL |
Petr Michalec | 10462bb | 2017-03-23 19:18:08 +0100 | [diff] [blame] | 287 | env: |
| 288 | BOB_VARIABLE: Alice |
| 289 | BOB_PATH: |
| 290 | - /srv/alice/bin |
| 291 | - /srv/bob/bin |
| 292 | HTTPS_PROXY: https://127.0.4.1:443 |
| 293 | http_proxy: http://127.0.4.2:80 |
| 294 | ftp_proxy: ftp://127.0.4.3:2121 |
| 295 | no_proxy: |
| 296 | - 192.168.0.1 |
| 297 | - 192.168.0.2 |
| 298 | - .saltstack.com |
| 299 | - .ubuntu.com |
| 300 | - .mirantis.com |
| 301 | - .launchpad.net |
| 302 | - .dummy.net |
| 303 | - .local |
| 304 | LANG: C |
| 305 | LC_ALL: C |
| 306 | profile: |
| 307 | vi_flavors.sh: | |
| 308 | export PAGER=view |
| 309 | alias vi=vim |
| 310 | locales: | |
| 311 | export LANG=en_US |
| 312 | export LC_ALL=en_US.UTF-8 |
| 313 | |
| 314 | # pillar for proxy configuration |
| 315 | proxy: |
| 316 | # for package managers |
| 317 | pkg: |
| 318 | enabled: true |
| 319 | https: https://127.0.2.1:4443 |
| 320 | #http: http://127.0.2.2 |
| 321 | ftp: none |
| 322 | # fallback, system defaults |
| 323 | https: https://127.0.1.1:443 |
| 324 | #http: http://127.0.1.2 |
| 325 | ftp: ftp://127.0.1.3 |
| 326 | noproxy: |
| 327 | - host1 |
| 328 | - host2 |
| 329 | - .local |
Vladimir Eremin | ccf2884 | 2017-04-10 23:52:10 +0300 | [diff] [blame] | 330 | |
| 331 | # pillars for netconsole setup |
| 332 | netconsole: |
| 333 | enabled: true |
| 334 | port: 514 |
| 335 | loglevel: debug |
| 336 | target: |
| 337 | 192.168.0.1: |
| 338 | mac: "ff:ff:ff:ff:ff:ff" |
| 339 | interface: bond0 |