blob: 3dc183dc0f6e93adf74985eb7faf3ea206ca49d9 [file] [log] [blame]
Filip Pytlouna1898572016-01-25 22:35:13 +01001linux:
azvyagintsevb7c2ef42018-08-16 14:21:39 +03002 network:
3 enabled: true
4 hostname: linux
5 fqdn: linux.ci.local
Filip Pytlouna1898572016-01-25 22:35:13 +01006 system:
7 enabled: true
Dmitry Teselkin0f084a02018-08-29 14:46:38 +03008 at:
9 enabled: true
10 user:
11 root:
12 enabled: true
13 testuser:
14 enabled: true
15 cron:
16 enabled: true
17 user:
18 root:
19 enabled: true
20 testuser:
21 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010022 cluster: default
Petr Michalec1c4c8d82017-02-28 19:09:21 +010023 name: linux
azvyagintsevb7c2ef42018-08-16 14:21:39 +030024 domain: ci.local
Filip Pytlouna1898572016-01-25 22:35:13 +010025 environment: prd
Jiri Broulik25839cc2017-04-18 17:05:20 +020026 purge_repos: true
Dzmitry Stremkouski70d09782018-11-30 16:04:59 +010027 service:
28 apt-daily.timer:
29 status: dead
30 tgt:
31 name: tgt
32 status: running
33 enabled: True
34 override:
35 50:
36 target: tgt.service.d
37 content: |
38 [Service]
39 ExecStart=
40 ExecStart=/usr/sbin/tgtd -f --iscsi portal=127.0.0.1:5555
Filip Pytloun8b2131e2017-11-08 13:29:03 +010041 directory:
42 /tmp/test:
43 makedirs: true
Filip Pytlouna1898572016-01-25 22:35:13 +010044 apparmor:
45 enabled: false
Filip Pytloun8296bb92016-02-19 18:42:09 +010046 haveged:
47 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010048 prompt:
Petr Michalec1c4c8d82017-02-28 19:09:21 +010049 default: "linux.ci.local$"
Jakub Pavlikb148c8c2017-02-12 21:30:48 +010050 kernel:
Jakub Pavlik6c9ead12017-02-16 21:53:13 +010051 isolcpu: 1,2,3,4
Simon Schneider98f7a492017-12-07 13:18:49 +010052 elevator: deadline
Michael Polenchukebf55522018-01-25 13:22:39 +040053 boot_options:
54 - pti=off
55 - spectre_v2=auto
Dmitry Teselkin809834c2018-08-13 19:14:42 +030056 module:
57 module_1:
58 install:
59 command: /bin/true
60 remove:
61 enabled: false
62 command: /bin/false
63 module_2:
64 install:
65 enabled: false
66 command: /bin/false
67 remove:
68 command: /bin/true
69 module_3:
70 blacklist: true
71 module_4:
72 blacklist: false
73 alias:
74 "module*":
75 enabled: true
76 "module_*":
77 enabled: false
78 module_5:
79 softdep:
80 pre:
81 1:
82 value: module_1
83 2:
84 value: module_2
85 enabled: false
86 post:
87 1:
88 value: module_3
89 2:
90 value: module_4
91 enabled: false
92 module_6:
93 option:
94 opt_1: 111
95 opt_2: 222
96 module_7:
97 option:
98 opt_3:
99 value: 333
100 opt_4:
101 enabled: true
102 value: 444
103 opt_5:
104 enabled: false
Jiri Broulik303905d2018-01-11 14:12:48 +0100105 cgroup:
106 group:
107 group_1:
108 controller:
109 cpu:
110 shares:
111 value: 250
112 mapping:
113 subjects:
114 - '@group1'
Filip Pytloun361096c2017-08-23 10:57:20 +0200115 sysfs:
Martin Polreich148e1b82018-09-13 15:54:25 +0200116 enable_apply: true
Filip Pytloun361096c2017-08-23 10:57:20 +0200117 scheduler:
118 block/sda/queue/scheduler: deadline
119 power:
120 mode:
121 power/state: 0660
122 owner:
123 power/state: "root:power"
124 devices/system/cpu/cpu0/cpufreq/scaling_governor: powersave
Filip Pytlouna1898572016-01-25 22:35:13 +0100125 motd:
126 - warning: |
127 #!/bin/sh
128 printf "WARNING: This is tcpcloud network.\n"
129 printf " Unauthorized access is strictly prohibited.\n"
130 printf "\n"
131 - info: |
132 #!/bin/sh
133 printf -- "--[tcp cloud]---------------------------\n"
134 printf " Hostname | ${linux:system:name}\n"
135 printf " Domain | ${linux:system:domain}\n"
136 printf " System | %s\n" "$(lsb_release -s -d)"
137 printf " Kernel | %s\n" "$(uname -r)"
138 printf -- "----------------------------------------\n"
139 printf "\n"
140 user:
141 root:
142 enabled: true
143 home: /root
144 name: root
Dmitry Teselkin47e41f42018-09-27 14:10:09 +0300145 maxdays: 365
Filip Pytloun54cb3632017-06-14 11:56:59 +0200146 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +0100147 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200148 name: testuser
Martin Polreich72f61c42018-01-19 13:55:09 +0100149 password: passw0rd
Filip Pytlouna1898572016-01-25 22:35:13 +0100150 sudo: true
151 uid: 9999
152 full_name: Test User
153 home: /home/test
Dzmitry Stremkouskia0d8b2d2018-10-22 14:12:05 +0200154 unique: false
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100155 groups:
Filip Pytlound281d292017-05-30 15:55:37 +0200156 - db-ops
157 - salt-ops
Dzmitry Stremkouskifae59fb2018-11-21 10:10:10 +0100158 optional_groups:
159 - docker
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100160 salt_user1:
161 enabled: true
162 name: saltuser1
163 sudo: false
164 uid: 9991
165 full_name: Salt User1
166 home: /home/saltuser1
Martin Polreich4fcd5c02018-07-16 09:41:51 +0200167 home_dir_mode: 755
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100168 salt_user2:
169 enabled: true
170 name: saltuser2
171 sudo: false
172 uid: 9992
173 full_name: Salt Sudo User2
174 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +0200175 groups:
176 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +0100177 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +0200178 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +0100179 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200180 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +0100181 gid: 9999
182 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200183 addusers:
184 - salt_user1
185 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100186 db-ops:
187 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200188 delusers:
189 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200190 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100191 salt-ops:
192 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200193 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100194 sudogroup1:
195 enabled: true
196 name: sudogroup1
197 sudogroup2:
198 enabled: true
199 name: sudogroup2
200 sudogroup3:
201 enabled: false
202 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100203 job:
204 test:
205 enabled: true
206 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200207 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100208 minute: 0
209 hour: 13
210 package:
211 htop:
212 version: latest
213 repo:
azvyagintsev45cf4522018-08-03 15:04:40 +0200214 disabled_repo:
215 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
216 enabled: false
217 disabled_repo_left_proxy:
218 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
219 enabled: false
220 proxy:
221 enabled: true
222 https: https://127.0.5.1:443
azvyagintsev4494a472018-09-14 19:19:23 +0300223 saltstack:
224 source: "deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/ xenial main"
225 key_url: "http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub"
226 architectures: amd64
227 clean_file: true
228 pinning:
229 10:
230 enabled: true
231 pin: 'release o=SaltStack'
232 priority: 50
233 package: 'libsodium18'
234 20:
235 enabled: true
236 pin: 'release o=SaltStack'
237 priority: 1100
238 package: '*'
Filip Pytlouna1898572016-01-25 22:35:13 +0100239 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100240 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
241 keyid: E79EE90C
242 keyserver: keyserver.ubuntu.com
243 architectures: amd64
244 proxy:
245 enabled: true
246 https: https://127.0.5.1:443
247 #http: http://127.0.5.2:8080
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300248 apt-salt:
249 source: "deb http://apt.mirantis.com/xenial stable salt"
250 #key_url: http://apt.mirantis.com/public.gpg
251 # pub 4096R/A76882D3 2015-06-17
Petr Michalec1ae62b12017-04-27 14:35:13 +0200252 key: |
253 -----BEGIN PGP PUBLIC KEY BLOCK-----
254 Version: GnuPG v1
255
256 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
257 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
258 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
259 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
260 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ
261 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYLIB8UjywN+VDqwkNk9jLUSXHTakh
262 dnL4OuGoNpIzms8juVFlnuOmx+FcfbHMbhAc7aPqFK+6J3YS4kJSfeHWJ6cTGoU1
263 cLWEhsbU3Gp8am5fnh72RJ7v2sTe/rvCuVtlNufi5SyBPcEUZoxFVWAC/hMeiWzy
264 drBIVC73raf+A+OjH8op9XfkVj6czxQ/451soe3jvCDGgTXPLlts+P5WhgWNpDPa
265 fOfTHn/2o7NwoM7Vp+BQYKAQ78phsolvNNhf+g51ntoLUbxAGKZYzQ5RPsKo+Hq6
266 96UCFkqhSABk0DvM0LtquzZ+sNoipd02w8EaxQzelDJxvPFGigo1uqGoiQARAQAB
267 tCx0Y3BjbG91ZCBzaWduaW5nIGtleSA8YXV0b2J1aWxkQHRjcGNsb3VkLmV1PokC
268 OwQTAQIAJQIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AFAlWj4K8CGQEACgkQ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vqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
302 jtcwJrHue5Xn8UPSLkE=
303 =SWiA
304 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100305 architectures: amd64
306 proxy:
307 enabled: true
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300308 apt-salt-nightly:
309 source: "deb http://apt.mirantis.com/xenial nightly salt"
310 key_url: http://apt.mirantis.com/public.gpg
Petr Michalec10462bb2017-03-23 19:18:08 +0100311 architectures: amd64
312 proxy:
313 enabled: false
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300314 apt-extra-nightly:
315 source: "deb http://apt.mirantis.com/xenial nightly extra"
316 key_url: http://apt.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100317 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200318 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100319 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200320 enabled: true
321 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100322 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200323 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100324 autoupdates:
325 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100326 sudo:
327 enabled: true
328 alias:
329 runas:
330 DBA:
331 - postgres
332 - mysql
333 SALT:
334 - root
335 host:
336 LOCAL:
337 - localhost
338 PRODUCTION:
339 - db1
340 - db2
341 command:
342 SUDO_RESTRICTED_SU:
343 - /bin/vi /etc/sudoers
344 - /bin/su - root
345 - /bin/su -
346 - /bin/su
347 - /usr/sbin/visudo
348 SUDO_SHELLS:
349 - /bin/sh
350 - /bin/ksh
351 - /bin/bash
352 - /bin/rbash
353 - /bin/dash
354 - /bin/zsh
355 - /bin/csh
356 - /bin/fish
357 - /bin/tcsh
358 - /usr/bin/login
359 - /usr/bin/su
360 - /usr/su
361 SUDO_SALT_SAFE:
362 - /usr/bin/salt state*
363 - /usr/bin/salt service*
364 - /usr/bin/salt pillar*
365 - /usr/bin/salt grains*
366 - /usr/bin/salt saltutil*
367 - /usr/bin/salt-call state*
368 - /usr/bin/salt-call service*
369 - /usr/bin/salt-call pillar*
370 - /usr/bin/salt-call grains*
371 - /usr/bin/salt-call saltutil*
372 SUDO_SALT_TRUSTED:
373 - /usr/bin/salt*
374 users:
375 saltuser1: {}
376 saltuser2:
377 hosts:
378 - LOCAL
379 # User Alias:
380 DBA:
381 hosts:
382 - ALL
383 commands:
384 - SUDO_SALT_SAFE
385 groups:
386 db-ops:
387 hosts:
388 - ALL
389 - '!PRODUCTION'
390 runas:
391 - DBA
392 commands:
393 - /bin/cat *
394 - /bin/less *
395 - /bin/ls *
396 - SUDO_SALT_SAFE
397 - '!SUDO_SHELLS'
398 - '!SUDO_RESTRICTED_SU'
399 salt-ops:
400 hosts:
401 - 'ALL'
402 runas:
403 - SALT
404 commands:
405 - SUDO_SALT_TRUSTED
406 salt-ops2:
407 name: salt-ops
408 runas:
409 - DBA
410 commands:
411 - SUDO_SHELLS
412 sudogroup1:
413 commands:
414 - ALL
415 sudogroup2:
416 commands:
417 - ALL
418 hosts:
419 - localhost
420 users:
421 - test
422 nopasswd: false
423 sudogroup3:
424 commands:
425 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100426 env:
427 BOB_VARIABLE: Alice
428 BOB_PATH:
429 - /srv/alice/bin
430 - /srv/bob/bin
431 HTTPS_PROXY: https://127.0.4.1:443
432 http_proxy: http://127.0.4.2:80
433 ftp_proxy: ftp://127.0.4.3:2121
434 no_proxy:
435 - 192.168.0.1
436 - 192.168.0.2
437 - .saltstack.com
438 - .ubuntu.com
439 - .mirantis.com
440 - .launchpad.net
441 - .dummy.net
442 - .local
443 LANG: C
444 LC_ALL: C
Dmitry Teselkina0d31d12018-09-04 14:43:09 +0300445 login_defs:
446 PASS_MAX_DAYS:
447 value: 99
Dmitry Teselkinba028c32018-09-04 13:01:13 +0300448 shell:
449 umask: '027'
450 timeout: 900
Petr Michalec10462bb2017-03-23 19:18:08 +0100451 profile:
452 vi_flavors.sh: |
453 export PAGER=view
454 alias vi=vim
455 locales: |
456 export LANG=en_US
457 export LC_ALL=en_US.UTF-8
458
459 # pillar for proxy configuration
460 proxy:
461 # for package managers
462 pkg:
463 enabled: true
464 https: https://127.0.2.1:4443
465 #http: http://127.0.2.2
466 ftp: none
467 # fallback, system defaults
468 https: https://127.0.1.1:443
469 #http: http://127.0.1.2
470 ftp: ftp://127.0.1.3
471 noproxy:
472 - host1
473 - host2
474 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300475
476 # pillars for netconsole setup
477 netconsole:
478 enabled: true
479 port: 514
480 loglevel: debug
481 target:
482 192.168.0.1:
483 mac: "ff:ff:ff:ff:ff:ff"
484 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300485 atop:
486 enabled: true
487 interval: 20
488 logpath: "/var/mylog/atop"
489 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300490 mcelog:
491 enabled: true
492 logging:
493 syslog: true
494 syslog_error: true