blob: de1da2950d68e75d2290a626d1b8add8b06620a6 [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
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100144 salt_user1:
145 enabled: true
146 name: saltuser1
147 sudo: false
148 uid: 9991
149 full_name: Salt User1
150 home: /home/saltuser1
Martin Polreich4fcd5c02018-07-16 09:41:51 +0200151 home_dir_mode: 755
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100152 salt_user2:
153 enabled: true
154 name: saltuser2
155 sudo: false
156 uid: 9992
157 full_name: Salt Sudo User2
158 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +0200159 groups:
160 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +0100161 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +0200162 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +0100163 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200164 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +0100165 gid: 9999
166 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200167 addusers:
168 - salt_user1
169 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100170 db-ops:
171 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200172 delusers:
173 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200174 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100175 salt-ops:
176 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200177 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100178 sudogroup1:
179 enabled: true
180 name: sudogroup1
181 sudogroup2:
182 enabled: true
183 name: sudogroup2
184 sudogroup3:
185 enabled: false
186 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100187 job:
188 test:
189 enabled: true
190 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200191 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100192 minute: 0
193 hour: 13
194 package:
195 htop:
196 version: latest
197 repo:
azvyagintsev45cf4522018-08-03 15:04:40 +0200198 disabled_repo:
199 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
200 enabled: false
201 disabled_repo_left_proxy:
202 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
203 enabled: false
204 proxy:
205 enabled: true
206 https: https://127.0.5.1:443
azvyagintsev4494a472018-09-14 19:19:23 +0300207 saltstack:
208 source: "deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/ xenial main"
209 key_url: "http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub"
210 architectures: amd64
211 clean_file: true
212 pinning:
213 10:
214 enabled: true
215 pin: 'release o=SaltStack'
216 priority: 50
217 package: 'libsodium18'
218 20:
219 enabled: true
220 pin: 'release o=SaltStack'
221 priority: 1100
222 package: '*'
Filip Pytlouna1898572016-01-25 22:35:13 +0100223 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100224 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
225 keyid: E79EE90C
226 keyserver: keyserver.ubuntu.com
227 architectures: amd64
228 proxy:
229 enabled: true
230 https: https://127.0.5.1:443
231 #http: http://127.0.5.2:8080
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300232 apt-salt:
233 source: "deb http://apt.mirantis.com/xenial stable salt"
234 #key_url: http://apt.mirantis.com/public.gpg
235 # pub 4096R/A76882D3 2015-06-17
Petr Michalec1ae62b12017-04-27 14:35:13 +0200236 key: |
237 -----BEGIN PGP PUBLIC KEY BLOCK-----
238 Version: GnuPG v1
239
240 mQINBFWBfCIBEADf6lnsY9v4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Xcsugbai2OY/H4sAuvJHsmGtergGknuR+iFdt5el1wgRKP1r1KdmvMm
273 wsSayc6eSEKd689x3zsmAtnhYM31oMkPdeYRbnN15gLG7vcsVe4jug0YTqQt2WGn
274 hwjBA0i2qfTorXemWChsxKllvY9aB3ST8I6RMat0kS08FMD+Ced/ABEBAAGJAh8E
275 GAECAAkFAlWBfCICGwwACgkQJACFCadogtNicA/9HOM402VGHlmuYPcrvEThHqMK
276 KOTtNFsrrPp67dGYaT8TGTgy1OG4Oys2y+hrwqnUK6dXJxX2/RBfRuO/gw65RCfC
277 9nWeMkqJTjHJCKNTYfXN4O4ag444UZPcOMq+IyiWF3/sh674zCkCm5DQ/FH8IJ8Y
278 n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ
279 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
280 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
281 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
282 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
283 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
284 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
285 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
286 jtcwJrHue5Xn8UPSLkE=
287 =SWiA
288 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100289 architectures: amd64
290 proxy:
291 enabled: true
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300292 apt-salt-nightly:
293 source: "deb http://apt.mirantis.com/xenial nightly salt"
294 key_url: http://apt.mirantis.com/public.gpg
Petr Michalec10462bb2017-03-23 19:18:08 +0100295 architectures: amd64
296 proxy:
297 enabled: false
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300298 apt-extra-nightly:
299 source: "deb http://apt.mirantis.com/xenial nightly extra"
300 key_url: http://apt.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100301 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200302 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100303 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200304 enabled: true
305 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100306 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200307 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100308 autoupdates:
309 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100310 sudo:
311 enabled: true
312 alias:
313 runas:
314 DBA:
315 - postgres
316 - mysql
317 SALT:
318 - root
319 host:
320 LOCAL:
321 - localhost
322 PRODUCTION:
323 - db1
324 - db2
325 command:
326 SUDO_RESTRICTED_SU:
327 - /bin/vi /etc/sudoers
328 - /bin/su - root
329 - /bin/su -
330 - /bin/su
331 - /usr/sbin/visudo
332 SUDO_SHELLS:
333 - /bin/sh
334 - /bin/ksh
335 - /bin/bash
336 - /bin/rbash
337 - /bin/dash
338 - /bin/zsh
339 - /bin/csh
340 - /bin/fish
341 - /bin/tcsh
342 - /usr/bin/login
343 - /usr/bin/su
344 - /usr/su
345 SUDO_SALT_SAFE:
346 - /usr/bin/salt state*
347 - /usr/bin/salt service*
348 - /usr/bin/salt pillar*
349 - /usr/bin/salt grains*
350 - /usr/bin/salt saltutil*
351 - /usr/bin/salt-call state*
352 - /usr/bin/salt-call service*
353 - /usr/bin/salt-call pillar*
354 - /usr/bin/salt-call grains*
355 - /usr/bin/salt-call saltutil*
356 SUDO_SALT_TRUSTED:
357 - /usr/bin/salt*
358 users:
359 saltuser1: {}
360 saltuser2:
361 hosts:
362 - LOCAL
363 # User Alias:
364 DBA:
365 hosts:
366 - ALL
367 commands:
368 - SUDO_SALT_SAFE
369 groups:
370 db-ops:
371 hosts:
372 - ALL
373 - '!PRODUCTION'
374 runas:
375 - DBA
376 commands:
377 - /bin/cat *
378 - /bin/less *
379 - /bin/ls *
380 - SUDO_SALT_SAFE
381 - '!SUDO_SHELLS'
382 - '!SUDO_RESTRICTED_SU'
383 salt-ops:
384 hosts:
385 - 'ALL'
386 runas:
387 - SALT
388 commands:
389 - SUDO_SALT_TRUSTED
390 salt-ops2:
391 name: salt-ops
392 runas:
393 - DBA
394 commands:
395 - SUDO_SHELLS
396 sudogroup1:
397 commands:
398 - ALL
399 sudogroup2:
400 commands:
401 - ALL
402 hosts:
403 - localhost
404 users:
405 - test
406 nopasswd: false
407 sudogroup3:
408 commands:
409 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100410 env:
411 BOB_VARIABLE: Alice
412 BOB_PATH:
413 - /srv/alice/bin
414 - /srv/bob/bin
415 HTTPS_PROXY: https://127.0.4.1:443
416 http_proxy: http://127.0.4.2:80
417 ftp_proxy: ftp://127.0.4.3:2121
418 no_proxy:
419 - 192.168.0.1
420 - 192.168.0.2
421 - .saltstack.com
422 - .ubuntu.com
423 - .mirantis.com
424 - .launchpad.net
425 - .dummy.net
426 - .local
427 LANG: C
428 LC_ALL: C
Dmitry Teselkina0d31d12018-09-04 14:43:09 +0300429 login_defs:
430 PASS_MAX_DAYS:
431 value: 99
Dmitry Teselkinba028c32018-09-04 13:01:13 +0300432 shell:
433 umask: '027'
434 timeout: 900
Petr Michalec10462bb2017-03-23 19:18:08 +0100435 profile:
436 vi_flavors.sh: |
437 export PAGER=view
438 alias vi=vim
439 locales: |
440 export LANG=en_US
441 export LC_ALL=en_US.UTF-8
442
443 # pillar for proxy configuration
444 proxy:
445 # for package managers
446 pkg:
447 enabled: true
448 https: https://127.0.2.1:4443
449 #http: http://127.0.2.2
450 ftp: none
451 # fallback, system defaults
452 https: https://127.0.1.1:443
453 #http: http://127.0.1.2
454 ftp: ftp://127.0.1.3
455 noproxy:
456 - host1
457 - host2
458 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300459
460 # pillars for netconsole setup
461 netconsole:
462 enabled: true
463 port: 514
464 loglevel: debug
465 target:
466 192.168.0.1:
467 mac: "ff:ff:ff:ff:ff:ff"
468 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300469 atop:
470 enabled: true
471 interval: 20
472 logpath: "/var/mylog/atop"
473 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300474 mcelog:
475 enabled: true
476 logging:
477 syslog: true
478 syslog_error: true