blob: 5cfeea75c5b1d2a50c844470ab9d276d72f9f776 [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:
102 scheduler:
103 block/sda/queue/scheduler: deadline
104 power:
105 mode:
106 power/state: 0660
107 owner:
108 power/state: "root:power"
109 devices/system/cpu/cpu0/cpufreq/scaling_governor: powersave
Filip Pytlouna1898572016-01-25 22:35:13 +0100110 motd:
111 - warning: |
112 #!/bin/sh
113 printf "WARNING: This is tcpcloud network.\n"
114 printf " Unauthorized access is strictly prohibited.\n"
115 printf "\n"
116 - info: |
117 #!/bin/sh
118 printf -- "--[tcp cloud]---------------------------\n"
119 printf " Hostname | ${linux:system:name}\n"
120 printf " Domain | ${linux:system:domain}\n"
121 printf " System | %s\n" "$(lsb_release -s -d)"
122 printf " Kernel | %s\n" "$(uname -r)"
123 printf -- "----------------------------------------\n"
124 printf "\n"
125 user:
126 root:
127 enabled: true
128 home: /root
129 name: root
Filip Pytloun54cb3632017-06-14 11:56:59 +0200130 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +0100131 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200132 name: testuser
Martin Polreich72f61c42018-01-19 13:55:09 +0100133 password: passw0rd
Filip Pytlouna1898572016-01-25 22:35:13 +0100134 sudo: true
135 uid: 9999
136 full_name: Test User
137 home: /home/test
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100138 groups:
Filip Pytlound281d292017-05-30 15:55:37 +0200139 - db-ops
140 - salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100141 salt_user1:
142 enabled: true
143 name: saltuser1
144 sudo: false
145 uid: 9991
146 full_name: Salt User1
147 home: /home/saltuser1
Martin Polreich4fcd5c02018-07-16 09:41:51 +0200148 home_dir_mode: 755
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100149 salt_user2:
150 enabled: true
151 name: saltuser2
152 sudo: false
153 uid: 9992
154 full_name: Salt Sudo User2
155 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +0200156 groups:
157 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +0100158 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +0200159 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +0100160 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +0200161 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +0100162 gid: 9999
163 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200164 addusers:
165 - salt_user1
166 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100167 db-ops:
168 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200169 delusers:
170 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200171 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100172 salt-ops:
173 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200174 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100175 sudogroup1:
176 enabled: true
177 name: sudogroup1
178 sudogroup2:
179 enabled: true
180 name: sudogroup2
181 sudogroup3:
182 enabled: false
183 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100184 job:
185 test:
186 enabled: true
187 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200188 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100189 minute: 0
190 hour: 13
191 package:
192 htop:
193 version: latest
194 repo:
azvyagintsev45cf4522018-08-03 15:04:40 +0200195 disabled_repo:
196 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
197 enabled: false
198 disabled_repo_left_proxy:
199 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
200 enabled: false
201 proxy:
202 enabled: true
203 https: https://127.0.5.1:443
Filip Pytlouna1898572016-01-25 22:35:13 +0100204 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100205 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
206 keyid: E79EE90C
207 keyserver: keyserver.ubuntu.com
208 architectures: amd64
209 proxy:
210 enabled: true
211 https: https://127.0.5.1:443
212 #http: http://127.0.5.2:8080
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300213 apt-salt:
214 source: "deb http://apt.mirantis.com/xenial stable salt"
215 #key_url: http://apt.mirantis.com/public.gpg
216 # pub 4096R/A76882D3 2015-06-17
Petr Michalec1ae62b12017-04-27 14:35:13 +0200217 key: |
218 -----BEGIN PGP PUBLIC KEY BLOCK-----
219 Version: GnuPG v1
220
221 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
222 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
223 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
224 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
225 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ
226 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYLIB8UjywN+VDqwkNk9jLUSXHTakh
227 dnL4OuGoNpIzms8juVFlnuOmx+FcfbHMbhAc7aPqFK+6J3YS4kJSfeHWJ6cT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uyFCJ
260 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
261 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
262 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
263 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
264 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
265 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
266 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
267 jtcwJrHue5Xn8UPSLkE=
268 =SWiA
269 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100270 architectures: amd64
271 proxy:
272 enabled: true
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300273 apt-salt-nightly:
274 source: "deb http://apt.mirantis.com/xenial nightly salt"
275 key_url: http://apt.mirantis.com/public.gpg
Petr Michalec10462bb2017-03-23 19:18:08 +0100276 architectures: amd64
277 proxy:
278 enabled: false
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300279 apt-extra-nightly:
280 source: "deb http://apt.mirantis.com/xenial nightly extra"
281 key_url: http://apt.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100282 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200283 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100284 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200285 enabled: true
286 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100287 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200288 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100289 autoupdates:
290 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100291 sudo:
292 enabled: true
293 alias:
294 runas:
295 DBA:
296 - postgres
297 - mysql
298 SALT:
299 - root
300 host:
301 LOCAL:
302 - localhost
303 PRODUCTION:
304 - db1
305 - db2
306 command:
307 SUDO_RESTRICTED_SU:
308 - /bin/vi /etc/sudoers
309 - /bin/su - root
310 - /bin/su -
311 - /bin/su
312 - /usr/sbin/visudo
313 SUDO_SHELLS:
314 - /bin/sh
315 - /bin/ksh
316 - /bin/bash
317 - /bin/rbash
318 - /bin/dash
319 - /bin/zsh
320 - /bin/csh
321 - /bin/fish
322 - /bin/tcsh
323 - /usr/bin/login
324 - /usr/bin/su
325 - /usr/su
326 SUDO_SALT_SAFE:
327 - /usr/bin/salt state*
328 - /usr/bin/salt service*
329 - /usr/bin/salt pillar*
330 - /usr/bin/salt grains*
331 - /usr/bin/salt saltutil*
332 - /usr/bin/salt-call state*
333 - /usr/bin/salt-call service*
334 - /usr/bin/salt-call pillar*
335 - /usr/bin/salt-call grains*
336 - /usr/bin/salt-call saltutil*
337 SUDO_SALT_TRUSTED:
338 - /usr/bin/salt*
339 users:
340 saltuser1: {}
341 saltuser2:
342 hosts:
343 - LOCAL
344 # User Alias:
345 DBA:
346 hosts:
347 - ALL
348 commands:
349 - SUDO_SALT_SAFE
350 groups:
351 db-ops:
352 hosts:
353 - ALL
354 - '!PRODUCTION'
355 runas:
356 - DBA
357 commands:
358 - /bin/cat *
359 - /bin/less *
360 - /bin/ls *
361 - SUDO_SALT_SAFE
362 - '!SUDO_SHELLS'
363 - '!SUDO_RESTRICTED_SU'
364 salt-ops:
365 hosts:
366 - 'ALL'
367 runas:
368 - SALT
369 commands:
370 - SUDO_SALT_TRUSTED
371 salt-ops2:
372 name: salt-ops
373 runas:
374 - DBA
375 commands:
376 - SUDO_SHELLS
377 sudogroup1:
378 commands:
379 - ALL
380 sudogroup2:
381 commands:
382 - ALL
383 hosts:
384 - localhost
385 users:
386 - test
387 nopasswd: false
388 sudogroup3:
389 commands:
390 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100391 env:
392 BOB_VARIABLE: Alice
393 BOB_PATH:
394 - /srv/alice/bin
395 - /srv/bob/bin
396 HTTPS_PROXY: https://127.0.4.1:443
397 http_proxy: http://127.0.4.2:80
398 ftp_proxy: ftp://127.0.4.3:2121
399 no_proxy:
400 - 192.168.0.1
401 - 192.168.0.2
402 - .saltstack.com
403 - .ubuntu.com
404 - .mirantis.com
405 - .launchpad.net
406 - .dummy.net
407 - .local
408 LANG: C
409 LC_ALL: C
Dmitry Teselkina0d31d12018-09-04 14:43:09 +0300410 login_defs:
411 PASS_MAX_DAYS:
412 value: 99
Dmitry Teselkinba028c32018-09-04 13:01:13 +0300413 shell:
414 umask: '027'
415 timeout: 900
Petr Michalec10462bb2017-03-23 19:18:08 +0100416 profile:
417 vi_flavors.sh: |
418 export PAGER=view
419 alias vi=vim
420 locales: |
421 export LANG=en_US
422 export LC_ALL=en_US.UTF-8
423
424 # pillar for proxy configuration
425 proxy:
426 # for package managers
427 pkg:
428 enabled: true
429 https: https://127.0.2.1:4443
430 #http: http://127.0.2.2
431 ftp: none
432 # fallback, system defaults
433 https: https://127.0.1.1:443
434 #http: http://127.0.1.2
435 ftp: ftp://127.0.1.3
436 noproxy:
437 - host1
438 - host2
439 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300440
441 # pillars for netconsole setup
442 netconsole:
443 enabled: true
444 port: 514
445 loglevel: debug
446 target:
447 192.168.0.1:
448 mac: "ff:ff:ff:ff:ff:ff"
449 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300450 atop:
451 enabled: true
452 interval: 20
453 logpath: "/var/mylog/atop"
454 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300455 mcelog:
456 enabled: true
457 logging:
458 syslog: true
459 syslog_error: true