blob: 636d494cd8281d11c8e4ce66d8633418f4fdc317 [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
azvyagintseva3a73d02018-12-06 14:49:58 +02008 apt:
9 preferences:
10 enabled: true
11 rules:
12 100:
13 enabled: true
14 name: 'Ubuntu origin'
15 pin: 'release o=Ubuntu'
16 priority: 1100
17 package: '*'
18 5:
19 enabled: true
20 name: 'Ubuntu origin'
21 pin: 'release o=Ubuntu'
22 priority: 1100
23 package: '*'
Dmitry Teselkin0f084a02018-08-29 14:46:38 +030024 at:
25 enabled: true
26 user:
27 root:
28 enabled: true
29 testuser:
30 enabled: true
31 cron:
32 enabled: true
33 user:
34 root:
35 enabled: true
36 testuser:
37 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010038 cluster: default
Petr Michalec1c4c8d82017-02-28 19:09:21 +010039 name: linux
azvyagintsevb7c2ef42018-08-16 14:21:39 +030040 domain: ci.local
Filip Pytlouna1898572016-01-25 22:35:13 +010041 environment: prd
Jiri Broulik25839cc2017-04-18 17:05:20 +020042 purge_repos: true
Dzmitry Stremkouski70d09782018-11-30 16:04:59 +010043 service:
44 apt-daily.timer:
45 status: dead
46 tgt:
47 name: tgt
48 status: running
49 enabled: True
50 override:
51 50:
52 target: tgt.service.d
53 content: |
54 [Service]
55 ExecStart=
56 ExecStart=/usr/sbin/tgtd -f --iscsi portal=127.0.0.1:5555
Filip Pytloun8b2131e2017-11-08 13:29:03 +010057 directory:
58 /tmp/test:
59 makedirs: true
Filip Pytlouna1898572016-01-25 22:35:13 +010060 apparmor:
61 enabled: false
Filip Pytloun8296bb92016-02-19 18:42:09 +010062 haveged:
63 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010064 prompt:
Petr Michalec1c4c8d82017-02-28 19:09:21 +010065 default: "linux.ci.local$"
Jakub Pavlikb148c8c2017-02-12 21:30:48 +010066 kernel:
Jakub Pavlik6c9ead12017-02-16 21:53:13 +010067 isolcpu: 1,2,3,4
Simon Schneider98f7a492017-12-07 13:18:49 +010068 elevator: deadline
Michael Polenchukebf55522018-01-25 13:22:39 +040069 boot_options:
70 - pti=off
71 - spectre_v2=auto
Dmitry Teselkin809834c2018-08-13 19:14:42 +030072 module:
73 module_1:
74 install:
75 command: /bin/true
76 remove:
77 enabled: false
78 command: /bin/false
79 module_2:
80 install:
81 enabled: false
82 command: /bin/false
83 remove:
84 command: /bin/true
85 module_3:
86 blacklist: true
87 module_4:
88 blacklist: false
89 alias:
90 "module*":
91 enabled: true
92 "module_*":
93 enabled: false
94 module_5:
95 softdep:
96 pre:
97 1:
98 value: module_1
99 2:
100 value: module_2
101 enabled: false
102 post:
103 1:
104 value: module_3
105 2:
106 value: module_4
107 enabled: false
108 module_6:
109 option:
110 opt_1: 111
111 opt_2: 222
112 module_7:
113 option:
114 opt_3:
115 value: 333
116 opt_4:
117 enabled: true
118 value: 444
119 opt_5:
120 enabled: false
Jiri Broulik303905d2018-01-11 14:12:48 +0100121 cgroup:
122 group:
123 group_1:
124 controller:
125 cpu:
126 shares:
127 value: 250
128 mapping:
129 subjects:
130 - '@group1'
Filip Pytloun361096c2017-08-23 10:57:20 +0200131 sysfs:
Martin Polreich148e1b82018-09-13 15:54:25 +0200132 enable_apply: true
Filip Pytloun361096c2017-08-23 10:57:20 +0200133 scheduler:
134 block/sda/queue/scheduler: deadline
135 power:
136 mode:
137 power/state: 0660
138 owner:
139 power/state: "root:power"
140 devices/system/cpu/cpu0/cpufreq/scaling_governor: powersave
Filip Pytlouna1898572016-01-25 22:35:13 +0100141 motd:
142 - warning: |
143 #!/bin/sh
144 printf "WARNING: This is tcpcloud network.\n"
145 printf " Unauthorized access is strictly prohibited.\n"
146 printf "\n"
147 - info: |
148 #!/bin/sh
149 printf -- "--[tcp cloud]---------------------------\n"
150 printf " Hostname | ${linux:system:name}\n"
151 printf " Domain | ${linux:system:domain}\n"
152 printf " System | %s\n" "$(lsb_release -s -d)"
153 printf " Kernel | %s\n" "$(uname -r)"
154 printf -- "----------------------------------------\n"
155 printf "\n"
156 user:
157 root:
158 enabled: true
159 home: /root
160 name: root
Dmitry Teselkin47e41f42018-09-27 14:10:09 +0300161 maxdays: 365
Filip Pytloun54cb3632017-06-14 11:56:59 +0200162 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +0100163 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200164 name: testuser
Martin Polreich72f61c42018-01-19 13:55:09 +0100165 password: passw0rd
Filip Pytlouna1898572016-01-25 22:35:13 +0100166 sudo: true
167 uid: 9999
168 full_name: Test User
169 home: /home/test
Dzmitry Stremkouskia0d8b2d2018-10-22 14:12:05 +0200170 unique: false
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100171 groups:
Filip Pytlound281d292017-05-30 15:55:37 +0200172 - db-ops
173 - salt-ops
Dzmitry Stremkouskifae59fb2018-11-21 10:10:10 +0100174 optional_groups:
175 - docker
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100176 salt_user1:
177 enabled: true
178 name: saltuser1
179 sudo: false
180 uid: 9991
181 full_name: Salt User1
182 home: /home/saltuser1
Martin Polreich4fcd5c02018-07-16 09:41:51 +0200183 home_dir_mode: 755
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100184 salt_user2:
185 enabled: true
186 name: saltuser2
187 sudo: false
188 uid: 9992
189 full_name: Salt Sudo User2
190 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +0200191 groups:
192 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +0100193 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +0200194 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +0100195 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200196 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +0100197 gid: 9999
198 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200199 addusers:
200 - salt_user1
201 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100202 db-ops:
203 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200204 delusers:
205 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200206 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100207 salt-ops:
208 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200209 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100210 sudogroup1:
211 enabled: true
212 name: sudogroup1
213 sudogroup2:
214 enabled: true
215 name: sudogroup2
216 sudogroup3:
217 enabled: false
218 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100219 job:
220 test:
221 enabled: true
222 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200223 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100224 minute: 0
225 hour: 13
226 package:
227 htop:
228 version: latest
229 repo:
azvyagintsev45cf4522018-08-03 15:04:40 +0200230 disabled_repo:
231 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
232 enabled: false
233 disabled_repo_left_proxy:
234 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
235 enabled: false
236 proxy:
237 enabled: true
238 https: https://127.0.5.1:443
azvyagintsev4494a472018-09-14 19:19:23 +0300239 saltstack:
240 source: "deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/ xenial main"
241 key_url: "http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub"
azvyagintseva3a73d02018-12-06 14:49:58 +0200242 name: 'human readable saltstack reponame'
azvyagintsev4494a472018-09-14 19:19:23 +0300243 architectures: amd64
244 clean_file: true
245 pinning:
246 10:
247 enabled: true
248 pin: 'release o=SaltStack'
249 priority: 50
250 package: 'libsodium18'
251 20:
252 enabled: true
253 pin: 'release o=SaltStack'
254 priority: 1100
255 package: '*'
Filip Pytlouna1898572016-01-25 22:35:13 +0100256 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100257 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
258 keyid: E79EE90C
259 keyserver: keyserver.ubuntu.com
260 architectures: amd64
261 proxy:
262 enabled: true
263 https: https://127.0.5.1:443
264 #http: http://127.0.5.2:8080
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300265 apt-salt:
266 source: "deb http://apt.mirantis.com/xenial stable salt"
267 #key_url: http://apt.mirantis.com/public.gpg
268 # pub 4096R/A76882D3 2015-06-17
Petr Michalec1ae62b12017-04-27 14:35:13 +0200269 key: |
270 -----BEGIN PGP PUBLIC KEY BLOCK-----
271 Version: GnuPG v1
272
273 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
274 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
275 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
276 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
277 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ
278 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYLIB8UjywN+VDqwkNk9jLUSXHTakh
279 dnL4OuGoNpIzms8juVFlnuOmx+FcfbHMbhAc7aPqFK+6J3YS4kJSfeHWJ6cTGoU1
280 cLWEhsbU3Gp8am5fnh72RJ7v2sTe/rvCuVtlNufi5SyBPcEUZoxFVWAC/hMeiWzy
281 drBIVC73raf+A+OjH8op9XfkVj6czxQ/451soe3jvCDGgTXPLlts+P5WhgWNpDPa
282 fOfT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uWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
315 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
316 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
317 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
318 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
319 jtcwJrHue5Xn8UPSLkE=
320 =SWiA
321 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100322 architectures: amd64
323 proxy:
324 enabled: true
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300325 apt-salt-nightly:
326 source: "deb http://apt.mirantis.com/xenial nightly salt"
327 key_url: http://apt.mirantis.com/public.gpg
Petr Michalec10462bb2017-03-23 19:18:08 +0100328 architectures: amd64
329 proxy:
330 enabled: false
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300331 apt-extra-nightly:
332 source: "deb http://apt.mirantis.com/xenial nightly extra"
333 key_url: http://apt.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100334 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200335 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100336 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200337 enabled: true
338 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100339 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200340 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100341 autoupdates:
342 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100343 sudo:
344 enabled: true
345 alias:
346 runas:
347 DBA:
348 - postgres
349 - mysql
350 SALT:
351 - root
352 host:
353 LOCAL:
354 - localhost
355 PRODUCTION:
356 - db1
357 - db2
358 command:
359 SUDO_RESTRICTED_SU:
360 - /bin/vi /etc/sudoers
361 - /bin/su - root
362 - /bin/su -
363 - /bin/su
364 - /usr/sbin/visudo
365 SUDO_SHELLS:
366 - /bin/sh
367 - /bin/ksh
368 - /bin/bash
369 - /bin/rbash
370 - /bin/dash
371 - /bin/zsh
372 - /bin/csh
373 - /bin/fish
374 - /bin/tcsh
375 - /usr/bin/login
376 - /usr/bin/su
377 - /usr/su
378 SUDO_SALT_SAFE:
379 - /usr/bin/salt state*
380 - /usr/bin/salt service*
381 - /usr/bin/salt pillar*
382 - /usr/bin/salt grains*
383 - /usr/bin/salt saltutil*
384 - /usr/bin/salt-call state*
385 - /usr/bin/salt-call service*
386 - /usr/bin/salt-call pillar*
387 - /usr/bin/salt-call grains*
388 - /usr/bin/salt-call saltutil*
389 SUDO_SALT_TRUSTED:
390 - /usr/bin/salt*
391 users:
392 saltuser1: {}
393 saltuser2:
394 hosts:
395 - LOCAL
396 # User Alias:
397 DBA:
398 hosts:
399 - ALL
400 commands:
401 - SUDO_SALT_SAFE
402 groups:
403 db-ops:
404 hosts:
405 - ALL
406 - '!PRODUCTION'
407 runas:
408 - DBA
409 commands:
410 - /bin/cat *
411 - /bin/less *
412 - /bin/ls *
413 - SUDO_SALT_SAFE
414 - '!SUDO_SHELLS'
415 - '!SUDO_RESTRICTED_SU'
416 salt-ops:
417 hosts:
418 - 'ALL'
419 runas:
420 - SALT
421 commands:
422 - SUDO_SALT_TRUSTED
423 salt-ops2:
424 name: salt-ops
425 runas:
426 - DBA
427 commands:
428 - SUDO_SHELLS
429 sudogroup1:
430 commands:
431 - ALL
432 sudogroup2:
433 commands:
434 - ALL
435 hosts:
436 - localhost
437 users:
438 - test
439 nopasswd: false
440 sudogroup3:
441 commands:
442 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100443 env:
444 BOB_VARIABLE: Alice
445 BOB_PATH:
446 - /srv/alice/bin
447 - /srv/bob/bin
448 HTTPS_PROXY: https://127.0.4.1:443
449 http_proxy: http://127.0.4.2:80
450 ftp_proxy: ftp://127.0.4.3:2121
451 no_proxy:
452 - 192.168.0.1
453 - 192.168.0.2
454 - .saltstack.com
455 - .ubuntu.com
456 - .mirantis.com
457 - .launchpad.net
458 - .dummy.net
459 - .local
460 LANG: C
461 LC_ALL: C
Dmitry Teselkina0d31d12018-09-04 14:43:09 +0300462 login_defs:
463 PASS_MAX_DAYS:
464 value: 99
Dmitry Teselkinba028c32018-09-04 13:01:13 +0300465 shell:
466 umask: '027'
467 timeout: 900
Petr Michalec10462bb2017-03-23 19:18:08 +0100468 profile:
469 vi_flavors.sh: |
470 export PAGER=view
471 alias vi=vim
472 locales: |
473 export LANG=en_US
474 export LC_ALL=en_US.UTF-8
475
476 # pillar for proxy configuration
477 proxy:
478 # for package managers
479 pkg:
480 enabled: true
481 https: https://127.0.2.1:4443
482 #http: http://127.0.2.2
483 ftp: none
484 # fallback, system defaults
485 https: https://127.0.1.1:443
486 #http: http://127.0.1.2
487 ftp: ftp://127.0.1.3
488 noproxy:
489 - host1
490 - host2
491 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300492
493 # pillars for netconsole setup
494 netconsole:
495 enabled: true
496 port: 514
497 loglevel: debug
498 target:
499 192.168.0.1:
500 mac: "ff:ff:ff:ff:ff:ff"
501 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300502 atop:
503 enabled: true
504 interval: 20
505 logpath: "/var/mylog/atop"
506 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300507 mcelog:
508 enabled: true
509 logging:
510 syslog: true
511 syslog_error: true