blob: 354051181e83c4525dff13234a646413b544be03 [file] [log] [blame]
Filip Pytlouna1898572016-01-25 22:35:13 +01001linux:
2 system:
3 enabled: true
4 cluster: default
Petr Michalec1c4c8d82017-02-28 19:09:21 +01005 name: linux
Filip Pytlouna1898572016-01-25 22:35:13 +01006 domain: local
7 environment: prd
Petr Michalec1c4c8d82017-02-28 19:09:21 +01008 hostname: system.pillar.local
Jiri Broulik25839cc2017-04-18 17:05:20 +02009 purge_repos: true
Filip Pytloun8b2131e2017-11-08 13:29:03 +010010 directory:
11 /tmp/test:
12 makedirs: true
Filip Pytlouna1898572016-01-25 22:35:13 +010013 apparmor:
14 enabled: false
Filip Pytloun8296bb92016-02-19 18:42:09 +010015 haveged:
16 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010017 prompt:
Petr Michalec1c4c8d82017-02-28 19:09:21 +010018 default: "linux.ci.local$"
Jakub Pavlikb148c8c2017-02-12 21:30:48 +010019 kernel:
Jakub Pavlik6c9ead12017-02-16 21:53:13 +010020 isolcpu: 1,2,3,4
Simon Schneider98f7a492017-12-07 13:18:49 +010021 elevator: deadline
Michael Polenchukebf55522018-01-25 13:22:39 +040022 boot_options:
23 - pti=off
24 - spectre_v2=auto
Jiri Broulik303905d2018-01-11 14:12:48 +010025 cgroup:
26 group:
27 group_1:
28 controller:
29 cpu:
30 shares:
31 value: 250
32 mapping:
33 subjects:
34 - '@group1'
Filip Pytloun361096c2017-08-23 10:57:20 +020035 sysfs:
36 scheduler:
37 block/sda/queue/scheduler: deadline
38 power:
39 mode:
40 power/state: 0660
41 owner:
42 power/state: "root:power"
43 devices/system/cpu/cpu0/cpufreq/scaling_governor: powersave
Filip Pytlouna1898572016-01-25 22:35:13 +010044 motd:
45 - warning: |
46 #!/bin/sh
47 printf "WARNING: This is tcpcloud network.\n"
48 printf " Unauthorized access is strictly prohibited.\n"
49 printf "\n"
50 - info: |
51 #!/bin/sh
52 printf -- "--[tcp cloud]---------------------------\n"
53 printf " Hostname | ${linux:system:name}\n"
54 printf " Domain | ${linux:system:domain}\n"
55 printf " System | %s\n" "$(lsb_release -s -d)"
56 printf " Kernel | %s\n" "$(uname -r)"
57 printf -- "----------------------------------------\n"
58 printf "\n"
59 user:
60 root:
61 enabled: true
62 home: /root
63 name: root
Filip Pytloun54cb3632017-06-14 11:56:59 +020064 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +010065 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020066 name: testuser
Martin Polreich72f61c42018-01-19 13:55:09 +010067 password: passw0rd
Filip Pytlouna1898572016-01-25 22:35:13 +010068 sudo: true
69 uid: 9999
70 full_name: Test User
71 home: /home/test
Petr Michalec1c4c8d82017-02-28 19:09:21 +010072 groups:
Filip Pytlound281d292017-05-30 15:55:37 +020073 - db-ops
74 - salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +010075 salt_user1:
76 enabled: true
77 name: saltuser1
78 sudo: false
79 uid: 9991
80 full_name: Salt User1
81 home: /home/saltuser1
Martin Polreich4fcd5c02018-07-16 09:41:51 +020082 home_dir_mode: 755
Petr Michalec1c4c8d82017-02-28 19:09:21 +010083 salt_user2:
84 enabled: true
85 name: saltuser2
86 sudo: false
87 uid: 9992
88 full_name: Salt Sudo User2
89 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +020090 groups:
91 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +010092 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +020093 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +010094 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020095 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +010096 gid: 9999
97 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +020098 addusers:
99 - salt_user1
100 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100101 db-ops:
102 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200103 delusers:
104 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200105 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100106 salt-ops:
107 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200108 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100109 sudogroup1:
110 enabled: true
111 name: sudogroup1
112 sudogroup2:
113 enabled: true
114 name: sudogroup2
115 sudogroup3:
116 enabled: false
117 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100118 job:
119 test:
120 enabled: true
121 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200122 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100123 minute: 0
124 hour: 13
125 package:
126 htop:
127 version: latest
128 repo:
azvyagintsev45cf4522018-08-03 15:04:40 +0200129 disabled_repo:
130 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
131 enabled: false
132 disabled_repo_left_proxy:
133 source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
134 enabled: false
135 proxy:
136 enabled: true
137 https: https://127.0.5.1:443
Filip Pytlouna1898572016-01-25 22:35:13 +0100138 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100139 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
140 keyid: E79EE90C
141 keyserver: keyserver.ubuntu.com
142 architectures: amd64
143 proxy:
144 enabled: true
145 https: https://127.0.5.1:443
146 #http: http://127.0.5.2:8080
147 apt-mk-salt:
148 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
Petr Michalec1ae62b12017-04-27 14:35:13 +0200149 #key_url: http://apt-mk.mirantis.com/public.gpg
150 key: |
151 -----BEGIN PGP PUBLIC KEY BLOCK-----
152 Version: GnuPG v1
153
154 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
155 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXd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kPdeYRbnN15gLG7vcsVe4jug0YTqQt2WGn
188 hwjBA0i2qfTorXemWChsxKllvY9aB3ST8I6RMat0kS08FMD+Ced/ABEBAAGJAh8E
189 GAECAAkFAlWBfCICGwwACgkQJACFCadogtNicA/9HOM402VGHlmuYPcrvEThHqMK
190 KOTtNFsrrPp67dGYaT8TGTgy1OG4Oys2y+hrwqnUK6dXJxX2/RBfRuO/gw65RCfC
191 9nWeMkqJTjHJCKNTYfXN4O4ag444UZPcOMq+IyiWF3/sh674zCkCm5DQ/FH8IJ8Y
192 n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ
193 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
194 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
195 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
196 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
197 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
198 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
199 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
200 jtcwJrHue5Xn8UPSLkE=
201 =SWiA
202 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100203 architectures: amd64
204 proxy:
205 enabled: true
206 apt-mk-salt-nightly:
207 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
208 key_url: http://apt-mk.mirantis.com/public.gpg
209 architectures: amd64
210 proxy:
211 enabled: false
212 apt-mk-extra-nightly:
213 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
214 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100215 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200216 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100217 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200218 enabled: true
219 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100220 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200221 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100222 autoupdates:
223 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100224 sudo:
225 enabled: true
226 alias:
227 runas:
228 DBA:
229 - postgres
230 - mysql
231 SALT:
232 - root
233 host:
234 LOCAL:
235 - localhost
236 PRODUCTION:
237 - db1
238 - db2
239 command:
240 SUDO_RESTRICTED_SU:
241 - /bin/vi /etc/sudoers
242 - /bin/su - root
243 - /bin/su -
244 - /bin/su
245 - /usr/sbin/visudo
246 SUDO_SHELLS:
247 - /bin/sh
248 - /bin/ksh
249 - /bin/bash
250 - /bin/rbash
251 - /bin/dash
252 - /bin/zsh
253 - /bin/csh
254 - /bin/fish
255 - /bin/tcsh
256 - /usr/bin/login
257 - /usr/bin/su
258 - /usr/su
259 SUDO_SALT_SAFE:
260 - /usr/bin/salt state*
261 - /usr/bin/salt service*
262 - /usr/bin/salt pillar*
263 - /usr/bin/salt grains*
264 - /usr/bin/salt saltutil*
265 - /usr/bin/salt-call state*
266 - /usr/bin/salt-call service*
267 - /usr/bin/salt-call pillar*
268 - /usr/bin/salt-call grains*
269 - /usr/bin/salt-call saltutil*
270 SUDO_SALT_TRUSTED:
271 - /usr/bin/salt*
272 users:
273 saltuser1: {}
274 saltuser2:
275 hosts:
276 - LOCAL
277 # User Alias:
278 DBA:
279 hosts:
280 - ALL
281 commands:
282 - SUDO_SALT_SAFE
283 groups:
284 db-ops:
285 hosts:
286 - ALL
287 - '!PRODUCTION'
288 runas:
289 - DBA
290 commands:
291 - /bin/cat *
292 - /bin/less *
293 - /bin/ls *
294 - SUDO_SALT_SAFE
295 - '!SUDO_SHELLS'
296 - '!SUDO_RESTRICTED_SU'
297 salt-ops:
298 hosts:
299 - 'ALL'
300 runas:
301 - SALT
302 commands:
303 - SUDO_SALT_TRUSTED
304 salt-ops2:
305 name: salt-ops
306 runas:
307 - DBA
308 commands:
309 - SUDO_SHELLS
310 sudogroup1:
311 commands:
312 - ALL
313 sudogroup2:
314 commands:
315 - ALL
316 hosts:
317 - localhost
318 users:
319 - test
320 nopasswd: false
321 sudogroup3:
322 commands:
323 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100324 env:
325 BOB_VARIABLE: Alice
326 BOB_PATH:
327 - /srv/alice/bin
328 - /srv/bob/bin
329 HTTPS_PROXY: https://127.0.4.1:443
330 http_proxy: http://127.0.4.2:80
331 ftp_proxy: ftp://127.0.4.3:2121
332 no_proxy:
333 - 192.168.0.1
334 - 192.168.0.2
335 - .saltstack.com
336 - .ubuntu.com
337 - .mirantis.com
338 - .launchpad.net
339 - .dummy.net
340 - .local
341 LANG: C
342 LC_ALL: C
343 profile:
344 vi_flavors.sh: |
345 export PAGER=view
346 alias vi=vim
347 locales: |
348 export LANG=en_US
349 export LC_ALL=en_US.UTF-8
350
351 # pillar for proxy configuration
352 proxy:
353 # for package managers
354 pkg:
355 enabled: true
356 https: https://127.0.2.1:4443
357 #http: http://127.0.2.2
358 ftp: none
359 # fallback, system defaults
360 https: https://127.0.1.1:443
361 #http: http://127.0.1.2
362 ftp: ftp://127.0.1.3
363 noproxy:
364 - host1
365 - host2
366 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300367
368 # pillars for netconsole setup
369 netconsole:
370 enabled: true
371 port: 514
372 loglevel: debug
373 target:
374 192.168.0.1:
375 mac: "ff:ff:ff:ff:ff:ff"
376 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300377 atop:
378 enabled: true
379 interval: 20
380 logpath: "/var/mylog/atop"
381 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300382 mcelog:
383 enabled: true
384 logging:
385 syslog: true
386 syslog_error: true