blob: 6a0b16b789a4cd3362e9f3999449401358770d5f [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
Filip Pytloun8b2131e2017-11-08 13:29:03 +010027 directory:
28 /tmp/test:
29 makedirs: true
Filip Pytlouna1898572016-01-25 22:35:13 +010030 apparmor:
31 enabled: false
Filip Pytloun8296bb92016-02-19 18:42:09 +010032 haveged:
33 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010034 prompt:
Petr Michalec1c4c8d82017-02-28 19:09:21 +010035 default: "linux.ci.local$"
Jakub Pavlikb148c8c2017-02-12 21:30:48 +010036 kernel:
Jakub Pavlik6c9ead12017-02-16 21:53:13 +010037 isolcpu: 1,2,3,4
Simon Schneider98f7a492017-12-07 13:18:49 +010038 elevator: deadline
Michael Polenchukebf55522018-01-25 13:22:39 +040039 boot_options:
40 - pti=off
41 - spectre_v2=auto
Dmitry Teselkin809834c2018-08-13 19:14:42 +030042 module:
43 module_1:
44 install:
45 command: /bin/true
46 remove:
47 enabled: false
48 command: /bin/false
49 module_2:
50 install:
51 enabled: false
52 command: /bin/false
53 remove:
54 command: /bin/true
55 module_3:
56 blacklist: true
57 module_4:
58 blacklist: false
59 alias:
60 "module*":
61 enabled: true
62 "module_*":
63 enabled: false
64 module_5:
65 softdep:
66 pre:
67 1:
68 value: module_1
69 2:
70 value: module_2
71 enabled: false
72 post:
73 1:
74 value: module_3
75 2:
76 value: module_4
77 enabled: false
78 module_6:
79 option:
80 opt_1: 111
81 opt_2: 222
82 module_7:
83 option:
84 opt_3:
85 value: 333
86 opt_4:
87 enabled: true
88 value: 444
89 opt_5:
90 enabled: false
Jiri Broulik303905d2018-01-11 14:12:48 +010091 cgroup:
92 group:
93 group_1:
94 controller:
95 cpu:
96 shares:
97 value: 250
98 mapping:
99 subjects:
100 - '@group1'
Filip Pytloun361096c2017-08-23 10:57:20 +0200101 sysfs:
Martin Polreich148e1b82018-09-13 15:54:25 +0200102 enable_apply: true
Filip Pytloun361096c2017-08-23 10:57:20 +0200103 scheduler:
104 block/sda/queue/scheduler: deadline
105 power:
106 mode:
107 power/state: 0660
108 owner:
109 power/state: "root:power"
110 devices/system/cpu/cpu0/cpufreq/scaling_governor: powersave
Filip Pytlouna1898572016-01-25 22:35:13 +0100111 motd:
112 - warning: |
113 #!/bin/sh
114 printf "WARNING: This is tcpcloud network.\n"
115 printf " Unauthorized access is strictly prohibited.\n"
116 printf "\n"
117 - info: |
118 #!/bin/sh
119 printf -- "--[tcp cloud]---------------------------\n"
120 printf " Hostname | ${linux:system:name}\n"
121 printf " Domain | ${linux:system:domain}\n"
122 printf " System | %s\n" "$(lsb_release -s -d)"
123 printf " Kernel | %s\n" "$(uname -r)"
124 printf -- "----------------------------------------\n"
125 printf "\n"
126 user:
127 root:
128 enabled: true
129 home: /root
130 name: root
Dmitry Teselkin47e41f42018-09-27 14:10:09 +0300131 maxdays: 365
Filip Pytloun54cb3632017-06-14 11:56:59 +0200132 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +0100133 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200134 name: testuser
Martin Polreich72f61c42018-01-19 13:55:09 +0100135 password: passw0rd
Filip Pytlouna1898572016-01-25 22:35:13 +0100136 sudo: true
137 uid: 9999
138 full_name: Test User
139 home: /home/test
Dzmitry Stremkouskia0d8b2d2018-10-22 14:12:05 +0200140 unique: false
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100141 groups:
Filip Pytlound281d292017-05-30 15:55:37 +0200142 - db-ops
143 - salt-ops
Dzmitry Stremkouskifae59fb2018-11-21 10:10:10 +0100144 optional_groups:
145 - docker
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100146 salt_user1:
147 enabled: true
148 name: saltuser1
149 sudo: false
150 uid: 9991
151 full_name: Salt User1
152 home: /home/saltuser1
Martin Polreich4fcd5c02018-07-16 09:41:51 +0200153 home_dir_mode: 755
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100154 salt_user2:
155 enabled: true
156 name: saltuser2
157 sudo: false
158 uid: 9992
159 full_name: Salt Sudo User2
160 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +0200161 groups:
162 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +0100163 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +0200164 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +0100165 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200166 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +0100167 gid: 9999
168 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200169 addusers:
170 - salt_user1
171 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100172 db-ops:
173 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200174 delusers:
175 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200176 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100177 salt-ops:
178 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200179 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100180 sudogroup1:
181 enabled: true
182 name: sudogroup1
183 sudogroup2:
184 enabled: true
185 name: sudogroup2
186 sudogroup3:
187 enabled: false
188 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100189 job:
190 test:
191 enabled: true
192 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200193 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100194 minute: 0
195 hour: 13
196 package:
197 htop:
198 version: latest
199 repo:
azvyagintsev45cf4522018-08-03 15:04:40 +0200200 disabled_repo:
201 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
202 enabled: false
203 disabled_repo_left_proxy:
204 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
205 enabled: false
206 proxy:
207 enabled: true
208 https: https://127.0.5.1:443
azvyagintsev4494a472018-09-14 19:19:23 +0300209 saltstack:
210 source: "deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/ xenial main"
211 key_url: "http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub"
212 architectures: amd64
213 clean_file: true
214 pinning:
215 10:
216 enabled: true
217 pin: 'release o=SaltStack'
218 priority: 50
219 package: 'libsodium18'
220 20:
221 enabled: true
222 pin: 'release o=SaltStack'
223 priority: 1100
224 package: '*'
Filip Pytlouna1898572016-01-25 22:35:13 +0100225 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100226 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
227 keyid: E79EE90C
228 keyserver: keyserver.ubuntu.com
229 architectures: amd64
230 proxy:
231 enabled: true
232 https: https://127.0.5.1:443
233 #http: http://127.0.5.2:8080
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300234 apt-salt:
235 source: "deb http://apt.mirantis.com/xenial stable salt"
236 #key_url: http://apt.mirantis.com/public.gpg
237 # pub 4096R/A76882D3 2015-06-17
Petr Michalec1ae62b12017-04-27 14:35:13 +0200238 key: |
239 -----BEGIN PGP PUBLIC KE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GB8vHGrfaZIcCKuXwZWGL5GGWKw3TSP4fAIA
274 jLxLf5MyyXcsugbai2OY/H4sAuvJHsmGtergGknuR+iFdt5el1wgRKP1r1KdmvMm
275 wsSayc6eSEKd689x3zsmAtnhYM31oMkPdeYRbnN15gLG7vcsVe4jug0YTqQt2WGn
276 hwjBA0i2qfTorXemWChsxKllvY9aB3ST8I6RMat0kS08FMD+Ced/ABEBAAGJAh8E
277 GAECAAkFAlWBfCICGwwACgkQJACFCadogtNicA/9HOM402VGHlmuYPcrvEThHqMK
278 KOTtNFsrrPp67dGYaT8TGTgy1OG4Oys2y+hrwqnUK6dXJxX2/RBfRuO/gw65RCfC
279 9nWeMkqJTjHJCKNTYfXN4O4ag444UZPcOMq+IyiWF3/sh674zCkCm5DQ/FH8IJ8Y
280 n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ
281 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
282 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
283 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
284 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
285 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
286 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
287 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
288 jtcwJrHue5Xn8UPSLkE=
289 =SWiA
290 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100291 architectures: amd64
292 proxy:
293 enabled: true
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300294 apt-salt-nightly:
295 source: "deb http://apt.mirantis.com/xenial nightly salt"
296 key_url: http://apt.mirantis.com/public.gpg
Petr Michalec10462bb2017-03-23 19:18:08 +0100297 architectures: amd64
298 proxy:
299 enabled: false
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300300 apt-extra-nightly:
301 source: "deb http://apt.mirantis.com/xenial nightly extra"
302 key_url: http://apt.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100303 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200304 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100305 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200306 enabled: true
307 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100308 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200309 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100310 autoupdates:
311 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100312 sudo:
313 enabled: true
314 alias:
315 runas:
316 DBA:
317 - postgres
318 - mysql
319 SALT:
320 - root
321 host:
322 LOCAL:
323 - localhost
324 PRODUCTION:
325 - db1
326 - db2
327 command:
328 SUDO_RESTRICTED_SU:
329 - /bin/vi /etc/sudoers
330 - /bin/su - root
331 - /bin/su -
332 - /bin/su
333 - /usr/sbin/visudo
334 SUDO_SHELLS:
335 - /bin/sh
336 - /bin/ksh
337 - /bin/bash
338 - /bin/rbash
339 - /bin/dash
340 - /bin/zsh
341 - /bin/csh
342 - /bin/fish
343 - /bin/tcsh
344 - /usr/bin/login
345 - /usr/bin/su
346 - /usr/su
347 SUDO_SALT_SAFE:
348 - /usr/bin/salt state*
349 - /usr/bin/salt service*
350 - /usr/bin/salt pillar*
351 - /usr/bin/salt grains*
352 - /usr/bin/salt saltutil*
353 - /usr/bin/salt-call state*
354 - /usr/bin/salt-call service*
355 - /usr/bin/salt-call pillar*
356 - /usr/bin/salt-call grains*
357 - /usr/bin/salt-call saltutil*
358 SUDO_SALT_TRUSTED:
359 - /usr/bin/salt*
360 users:
361 saltuser1: {}
362 saltuser2:
363 hosts:
364 - LOCAL
365 # User Alias:
366 DBA:
367 hosts:
368 - ALL
369 commands:
370 - SUDO_SALT_SAFE
371 groups:
372 db-ops:
373 hosts:
374 - ALL
375 - '!PRODUCTION'
376 runas:
377 - DBA
378 commands:
379 - /bin/cat *
380 - /bin/less *
381 - /bin/ls *
382 - SUDO_SALT_SAFE
383 - '!SUDO_SHELLS'
384 - '!SUDO_RESTRICTED_SU'
385 salt-ops:
386 hosts:
387 - 'ALL'
388 runas:
389 - SALT
390 commands:
391 - SUDO_SALT_TRUSTED
392 salt-ops2:
393 name: salt-ops
394 runas:
395 - DBA
396 commands:
397 - SUDO_SHELLS
398 sudogroup1:
399 commands:
400 - ALL
401 sudogroup2:
402 commands:
403 - ALL
404 hosts:
405 - localhost
406 users:
407 - test
408 nopasswd: false
409 sudogroup3:
410 commands:
411 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100412 env:
413 BOB_VARIABLE: Alice
414 BOB_PATH:
415 - /srv/alice/bin
416 - /srv/bob/bin
417 HTTPS_PROXY: https://127.0.4.1:443
418 http_proxy: http://127.0.4.2:80
419 ftp_proxy: ftp://127.0.4.3:2121
420 no_proxy:
421 - 192.168.0.1
422 - 192.168.0.2
423 - .saltstack.com
424 - .ubuntu.com
425 - .mirantis.com
426 - .launchpad.net
427 - .dummy.net
428 - .local
429 LANG: C
430 LC_ALL: C
Dmitry Teselkina0d31d12018-09-04 14:43:09 +0300431 login_defs:
432 PASS_MAX_DAYS:
433 value: 99
Dmitry Teselkinba028c32018-09-04 13:01:13 +0300434 shell:
435 umask: '027'
436 timeout: 900
Petr Michalec10462bb2017-03-23 19:18:08 +0100437 profile:
438 vi_flavors.sh: |
439 export PAGER=view
440 alias vi=vim
441 locales: |
442 export LANG=en_US
443 export LC_ALL=en_US.UTF-8
444
445 # pillar for proxy configuration
446 proxy:
447 # for package managers
448 pkg:
449 enabled: true
450 https: https://127.0.2.1:4443
451 #http: http://127.0.2.2
452 ftp: none
453 # fallback, system defaults
454 https: https://127.0.1.1:443
455 #http: http://127.0.1.2
456 ftp: ftp://127.0.1.3
457 noproxy:
458 - host1
459 - host2
460 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300461
462 # pillars for netconsole setup
463 netconsole:
464 enabled: true
465 port: 514
466 loglevel: debug
467 target:
468 192.168.0.1:
469 mac: "ff:ff:ff:ff:ff:ff"
470 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300471 atop:
472 enabled: true
473 interval: 20
474 logpath: "/var/mylog/atop"
475 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300476 mcelog:
477 enabled: true
478 logging:
479 syslog: true
480 syslog_error: true