blob: aad46ef2c2d67ecb05241076e80d9602ae929458 [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
8 cluster: default
Petr Michalec1c4c8d82017-02-28 19:09:21 +01009 name: linux
azvyagintsevb7c2ef42018-08-16 14:21:39 +030010 domain: ci.local
Filip Pytlouna1898572016-01-25 22:35:13 +010011 environment: prd
Jiri Broulik25839cc2017-04-18 17:05:20 +020012 purge_repos: true
Filip Pytloun8b2131e2017-11-08 13:29:03 +010013 directory:
14 /tmp/test:
15 makedirs: true
Filip Pytlouna1898572016-01-25 22:35:13 +010016 apparmor:
17 enabled: false
Filip Pytloun8296bb92016-02-19 18:42:09 +010018 haveged:
19 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010020 prompt:
Petr Michalec1c4c8d82017-02-28 19:09:21 +010021 default: "linux.ci.local$"
Jakub Pavlikb148c8c2017-02-12 21:30:48 +010022 kernel:
Jakub Pavlik6c9ead12017-02-16 21:53:13 +010023 isolcpu: 1,2,3,4
Simon Schneider98f7a492017-12-07 13:18:49 +010024 elevator: deadline
Michael Polenchukebf55522018-01-25 13:22:39 +040025 boot_options:
26 - pti=off
27 - spectre_v2=auto
Jiri Broulik303905d2018-01-11 14:12:48 +010028 cgroup:
29 group:
30 group_1:
31 controller:
32 cpu:
33 shares:
34 value: 250
35 mapping:
36 subjects:
37 - '@group1'
Filip Pytloun361096c2017-08-23 10:57:20 +020038 sysfs:
39 scheduler:
40 block/sda/queue/scheduler: deadline
41 power:
42 mode:
43 power/state: 0660
44 owner:
45 power/state: "root:power"
46 devices/system/cpu/cpu0/cpufreq/scaling_governor: powersave
Filip Pytlouna1898572016-01-25 22:35:13 +010047 motd:
48 - warning: |
49 #!/bin/sh
50 printf "WARNING: This is tcpcloud network.\n"
51 printf " Unauthorized access is strictly prohibited.\n"
52 printf "\n"
53 - info: |
54 #!/bin/sh
55 printf -- "--[tcp cloud]---------------------------\n"
56 printf " Hostname | ${linux:system:name}\n"
57 printf " Domain | ${linux:system:domain}\n"
58 printf " System | %s\n" "$(lsb_release -s -d)"
59 printf " Kernel | %s\n" "$(uname -r)"
60 printf -- "----------------------------------------\n"
61 printf "\n"
62 user:
63 root:
64 enabled: true
65 home: /root
66 name: root
Filip Pytloun54cb3632017-06-14 11:56:59 +020067 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +010068 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020069 name: testuser
Martin Polreich72f61c42018-01-19 13:55:09 +010070 password: passw0rd
Filip Pytlouna1898572016-01-25 22:35:13 +010071 sudo: true
72 uid: 9999
73 full_name: Test User
74 home: /home/test
Petr Michalec1c4c8d82017-02-28 19:09:21 +010075 groups:
Filip Pytlound281d292017-05-30 15:55:37 +020076 - db-ops
77 - salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +010078 salt_user1:
79 enabled: true
80 name: saltuser1
81 sudo: false
82 uid: 9991
83 full_name: Salt User1
84 home: /home/saltuser1
Martin Polreich4fcd5c02018-07-16 09:41:51 +020085 home_dir_mode: 755
Petr Michalec1c4c8d82017-02-28 19:09:21 +010086 salt_user2:
87 enabled: true
88 name: saltuser2
89 sudo: false
90 uid: 9992
91 full_name: Salt Sudo User2
92 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +020093 groups:
94 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +010095 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +020096 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +010097 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020098 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +010099 gid: 9999
100 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200101 addusers:
102 - salt_user1
103 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100104 db-ops:
105 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200106 delusers:
107 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200108 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100109 salt-ops:
110 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200111 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100112 sudogroup1:
113 enabled: true
114 name: sudogroup1
115 sudogroup2:
116 enabled: true
117 name: sudogroup2
118 sudogroup3:
119 enabled: false
120 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100121 job:
122 test:
123 enabled: true
124 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200125 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100126 minute: 0
127 hour: 13
128 package:
129 htop:
130 version: latest
131 repo:
azvyagintsev45cf4522018-08-03 15:04:40 +0200132 disabled_repo:
133 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
134 enabled: false
135 disabled_repo_left_proxy:
136 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
137 enabled: false
138 proxy:
139 enabled: true
140 https: https://127.0.5.1:443
Filip Pytlouna1898572016-01-25 22:35:13 +0100141 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100142 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
143 keyid: E79EE90C
144 keyserver: keyserver.ubuntu.com
145 architectures: amd64
146 proxy:
147 enabled: true
148 https: https://127.0.5.1:443
149 #http: http://127.0.5.2:8080
150 apt-mk-salt:
151 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
Petr Michalec1ae62b12017-04-27 14:35:13 +0200152 #key_url: http://apt-mk.mirantis.com/public.gpg
153 key: |
154 -----BEGIN PGP PUBLIC KEY BLOCK-----
155 Version: GnuPG v1
156
157 mQINBFWBfCIBEADf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LxLf5MyyXcsugbai2OY/H4sAuvJHsmGtergGknuR+iFdt5el1wgRKP1r1KdmvMm
190 wsSayc6eSEKd689x3zsmAtnhYM31oMkPdeYRbnN15gLG7vcsVe4jug0YTqQt2WGn
191 hwjBA0i2qfTorXemWChsxKllvY9aB3ST8I6RMat0kS08FMD+Ced/ABEBAAGJAh8E
192 GAECAAkFAlWBfCICGwwACgkQJACFCadogtNicA/9HOM402VGHlmuYPcrvEThHqMK
193 KOTtNFsrrPp67dGYaT8TGTgy1OG4Oys2y+hrwqnUK6dXJxX2/RBfRuO/gw65RCfC
194 9nWeMkqJTjHJCKNTYfXN4O4ag444UZPcOMq+IyiWF3/sh674zCkCm5DQ/FH8IJ8Y
195 n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ
196 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
197 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
198 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
199 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
200 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
201 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
202 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
203 jtcwJrHue5Xn8UPSLkE=
204 =SWiA
205 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100206 architectures: amd64
207 proxy:
208 enabled: true
209 apt-mk-salt-nightly:
210 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
211 key_url: http://apt-mk.mirantis.com/public.gpg
212 architectures: amd64
213 proxy:
214 enabled: false
215 apt-mk-extra-nightly:
216 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
217 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100218 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200219 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100220 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200221 enabled: true
222 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100223 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200224 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100225 autoupdates:
226 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100227 sudo:
228 enabled: true
229 alias:
230 runas:
231 DBA:
232 - postgres
233 - mysql
234 SALT:
235 - root
236 host:
237 LOCAL:
238 - localhost
239 PRODUCTION:
240 - db1
241 - db2
242 command:
243 SUDO_RESTRICTED_SU:
244 - /bin/vi /etc/sudoers
245 - /bin/su - root
246 - /bin/su -
247 - /bin/su
248 - /usr/sbin/visudo
249 SUDO_SHELLS:
250 - /bin/sh
251 - /bin/ksh
252 - /bin/bash
253 - /bin/rbash
254 - /bin/dash
255 - /bin/zsh
256 - /bin/csh
257 - /bin/fish
258 - /bin/tcsh
259 - /usr/bin/login
260 - /usr/bin/su
261 - /usr/su
262 SUDO_SALT_SAFE:
263 - /usr/bin/salt state*
264 - /usr/bin/salt service*
265 - /usr/bin/salt pillar*
266 - /usr/bin/salt grains*
267 - /usr/bin/salt saltutil*
268 - /usr/bin/salt-call state*
269 - /usr/bin/salt-call service*
270 - /usr/bin/salt-call pillar*
271 - /usr/bin/salt-call grains*
272 - /usr/bin/salt-call saltutil*
273 SUDO_SALT_TRUSTED:
274 - /usr/bin/salt*
275 users:
276 saltuser1: {}
277 saltuser2:
278 hosts:
279 - LOCAL
280 # User Alias:
281 DBA:
282 hosts:
283 - ALL
284 commands:
285 - SUDO_SALT_SAFE
286 groups:
287 db-ops:
288 hosts:
289 - ALL
290 - '!PRODUCTION'
291 runas:
292 - DBA
293 commands:
294 - /bin/cat *
295 - /bin/less *
296 - /bin/ls *
297 - SUDO_SALT_SAFE
298 - '!SUDO_SHELLS'
299 - '!SUDO_RESTRICTED_SU'
300 salt-ops:
301 hosts:
302 - 'ALL'
303 runas:
304 - SALT
305 commands:
306 - SUDO_SALT_TRUSTED
307 salt-ops2:
308 name: salt-ops
309 runas:
310 - DBA
311 commands:
312 - SUDO_SHELLS
313 sudogroup1:
314 commands:
315 - ALL
316 sudogroup2:
317 commands:
318 - ALL
319 hosts:
320 - localhost
321 users:
322 - test
323 nopasswd: false
324 sudogroup3:
325 commands:
326 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100327 env:
328 BOB_VARIABLE: Alice
329 BOB_PATH:
330 - /srv/alice/bin
331 - /srv/bob/bin
332 HTTPS_PROXY: https://127.0.4.1:443
333 http_proxy: http://127.0.4.2:80
334 ftp_proxy: ftp://127.0.4.3:2121
335 no_proxy:
336 - 192.168.0.1
337 - 192.168.0.2
338 - .saltstack.com
339 - .ubuntu.com
340 - .mirantis.com
341 - .launchpad.net
342 - .dummy.net
343 - .local
344 LANG: C
345 LC_ALL: C
346 profile:
347 vi_flavors.sh: |
348 export PAGER=view
349 alias vi=vim
350 locales: |
351 export LANG=en_US
352 export LC_ALL=en_US.UTF-8
353
354 # pillar for proxy configuration
355 proxy:
356 # for package managers
357 pkg:
358 enabled: true
359 https: https://127.0.2.1:4443
360 #http: http://127.0.2.2
361 ftp: none
362 # fallback, system defaults
363 https: https://127.0.1.1:443
364 #http: http://127.0.1.2
365 ftp: ftp://127.0.1.3
366 noproxy:
367 - host1
368 - host2
369 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300370
371 # pillars for netconsole setup
372 netconsole:
373 enabled: true
374 port: 514
375 loglevel: debug
376 target:
377 192.168.0.1:
378 mac: "ff:ff:ff:ff:ff:ff"
379 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300380 atop:
381 enabled: true
382 interval: 20
383 logpath: "/var/mylog/atop"
384 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300385 mcelog:
386 enabled: true
387 logging:
388 syslog: true
389 syslog_error: true