blob: 1b2edeec6ca532947316428efcca7f43fb939a32 [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
azvyagintsev4494a472018-09-14 19:19:23 +0300204 saltstack:
205 source: "deb [arch=amd64] http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/ xenial main"
206 key_url: "http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2017.7/SALTSTACK-GPG-KEY.pub"
207 architectures: amd64
208 clean_file: true
209 pinning:
210 10:
211 enabled: true
212 pin: 'release o=SaltStack'
213 priority: 50
214 package: 'libsodium18'
215 20:
216 enabled: true
217 pin: 'release o=SaltStack'
218 priority: 1100
219 package: '*'
Filip Pytlouna1898572016-01-25 22:35:13 +0100220 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100221 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
222 keyid: E79EE90C
223 keyserver: keyserver.ubuntu.com
224 architectures: amd64
225 proxy:
226 enabled: true
227 https: https://127.0.5.1:443
228 #http: http://127.0.5.2:8080
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300229 apt-salt:
230 source: "deb http://apt.mirantis.com/xenial stable salt"
231 #key_url: http://apt.mirantis.com/public.gpg
232 # pub 4096R/A76882D3 2015-06-17
Petr Michalec1ae62b12017-04-27 14:35:13 +0200233 key: |
234 -----BEGIN PGP PUBLIC KEY BLOCK-----
235 Version: GnuPG v1
236
237 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
238 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
239 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46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at0kS08FMD+Ced/ABEBAAGJAh8E
272 GAECAAkFAlWBfCICGwwACgkQJACFCadogtNicA/9HOM402VGHlmuYPcrvEThHqMK
273 KOTtNFsrrPp67dGYaT8TGTgy1OG4Oys2y+hrwqnUK6dXJxX2/RBfRuO/gw65RCfC
274 9nWeMkqJTjHJCKNTYfXN4O4ag444UZPcOMq+IyiWF3/sh674zCkCm5DQ/FH8IJ8Y
275 n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ
276 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
277 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
278 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
279 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
280 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
281 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
282 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
283 jtcwJrHue5Xn8UPSLkE=
284 =SWiA
285 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100286 architectures: amd64
287 proxy:
288 enabled: true
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300289 apt-salt-nightly:
290 source: "deb http://apt.mirantis.com/xenial nightly salt"
291 key_url: http://apt.mirantis.com/public.gpg
Petr Michalec10462bb2017-03-23 19:18:08 +0100292 architectures: amd64
293 proxy:
294 enabled: false
Dennis Dmitriev4bf87622017-07-06 21:07:27 +0300295 apt-extra-nightly:
296 source: "deb http://apt.mirantis.com/xenial nightly extra"
297 key_url: http://apt.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100298 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200299 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100300 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200301 enabled: true
302 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100303 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200304 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100305 autoupdates:
306 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100307 sudo:
308 enabled: true
309 alias:
310 runas:
311 DBA:
312 - postgres
313 - mysql
314 SALT:
315 - root
316 host:
317 LOCAL:
318 - localhost
319 PRODUCTION:
320 - db1
321 - db2
322 command:
323 SUDO_RESTRICTED_SU:
324 - /bin/vi /etc/sudoers
325 - /bin/su - root
326 - /bin/su -
327 - /bin/su
328 - /usr/sbin/visudo
329 SUDO_SHELLS:
330 - /bin/sh
331 - /bin/ksh
332 - /bin/bash
333 - /bin/rbash
334 - /bin/dash
335 - /bin/zsh
336 - /bin/csh
337 - /bin/fish
338 - /bin/tcsh
339 - /usr/bin/login
340 - /usr/bin/su
341 - /usr/su
342 SUDO_SALT_SAFE:
343 - /usr/bin/salt state*
344 - /usr/bin/salt service*
345 - /usr/bin/salt pillar*
346 - /usr/bin/salt grains*
347 - /usr/bin/salt saltutil*
348 - /usr/bin/salt-call state*
349 - /usr/bin/salt-call service*
350 - /usr/bin/salt-call pillar*
351 - /usr/bin/salt-call grains*
352 - /usr/bin/salt-call saltutil*
353 SUDO_SALT_TRUSTED:
354 - /usr/bin/salt*
355 users:
356 saltuser1: {}
357 saltuser2:
358 hosts:
359 - LOCAL
360 # User Alias:
361 DBA:
362 hosts:
363 - ALL
364 commands:
365 - SUDO_SALT_SAFE
366 groups:
367 db-ops:
368 hosts:
369 - ALL
370 - '!PRODUCTION'
371 runas:
372 - DBA
373 commands:
374 - /bin/cat *
375 - /bin/less *
376 - /bin/ls *
377 - SUDO_SALT_SAFE
378 - '!SUDO_SHELLS'
379 - '!SUDO_RESTRICTED_SU'
380 salt-ops:
381 hosts:
382 - 'ALL'
383 runas:
384 - SALT
385 commands:
386 - SUDO_SALT_TRUSTED
387 salt-ops2:
388 name: salt-ops
389 runas:
390 - DBA
391 commands:
392 - SUDO_SHELLS
393 sudogroup1:
394 commands:
395 - ALL
396 sudogroup2:
397 commands:
398 - ALL
399 hosts:
400 - localhost
401 users:
402 - test
403 nopasswd: false
404 sudogroup3:
405 commands:
406 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100407 env:
408 BOB_VARIABLE: Alice
409 BOB_PATH:
410 - /srv/alice/bin
411 - /srv/bob/bin
412 HTTPS_PROXY: https://127.0.4.1:443
413 http_proxy: http://127.0.4.2:80
414 ftp_proxy: ftp://127.0.4.3:2121
415 no_proxy:
416 - 192.168.0.1
417 - 192.168.0.2
418 - .saltstack.com
419 - .ubuntu.com
420 - .mirantis.com
421 - .launchpad.net
422 - .dummy.net
423 - .local
424 LANG: C
425 LC_ALL: C
Dmitry Teselkina0d31d12018-09-04 14:43:09 +0300426 login_defs:
427 PASS_MAX_DAYS:
428 value: 99
Petr Michalec10462bb2017-03-23 19:18:08 +0100429 profile:
430 vi_flavors.sh: |
431 export PAGER=view
432 alias vi=vim
433 locales: |
434 export LANG=en_US
435 export LC_ALL=en_US.UTF-8
436
437 # pillar for proxy configuration
438 proxy:
439 # for package managers
440 pkg:
441 enabled: true
442 https: https://127.0.2.1:4443
443 #http: http://127.0.2.2
444 ftp: none
445 # fallback, system defaults
446 https: https://127.0.1.1:443
447 #http: http://127.0.1.2
448 ftp: ftp://127.0.1.3
449 noproxy:
450 - host1
451 - host2
452 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300453
454 # pillars for netconsole setup
455 netconsole:
456 enabled: true
457 port: 514
458 loglevel: debug
459 target:
460 192.168.0.1:
461 mac: "ff:ff:ff:ff:ff:ff"
462 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300463 atop:
464 enabled: true
465 interval: 20
466 logpath: "/var/mylog/atop"
467 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300468 mcelog:
469 enabled: true
470 logging:
471 syslog: true
472 syslog_error: true