blob: 54176a11625c481a013d6958314cab1693a7762e [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:
129 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100130 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
131 keyid: E79EE90C
132 keyserver: keyserver.ubuntu.com
133 architectures: amd64
134 proxy:
135 enabled: true
136 https: https://127.0.5.1:443
137 #http: http://127.0.5.2:8080
138 apt-mk-salt:
139 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
Petr Michalec1ae62b12017-04-27 14:35:13 +0200140 #key_url: http://apt-mk.mirantis.com/public.gpg
141 key: |
142 -----BEGIN PGP PUBLIC KEY BLOCK-----
143 Version: GnuPG v1
144
145 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
146 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
147 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
148 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
149 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCB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RuO/gw65RCfC
182 9nWeMkqJTjHJCKNTYfXN4O4ag444UZPcOMq+IyiWF3/sh674zCkCm5DQ/FH8IJ8Y
183 n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ
184 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
185 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
186 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
187 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
188 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
189 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
190 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
191 jtcwJrHue5Xn8UPSLkE=
192 =SWiA
193 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100194 architectures: amd64
195 proxy:
196 enabled: true
197 apt-mk-salt-nightly:
198 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
199 key_url: http://apt-mk.mirantis.com/public.gpg
200 architectures: amd64
201 proxy:
202 enabled: false
203 apt-mk-extra-nightly:
204 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
205 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100206 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200207 locale:
Jakub Josef495245a2018-03-05 15:41:01 +0100208 en_US:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200209 enabled: true
210 default: true
Jakub Josef495245a2018-03-05 15:41:01 +0100211 cs_CZ:
Filip Pytlounc49445a2016-04-04 14:23:20 +0200212 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100213 autoupdates:
214 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100215 sudo:
216 enabled: true
217 alias:
218 runas:
219 DBA:
220 - postgres
221 - mysql
222 SALT:
223 - root
224 host:
225 LOCAL:
226 - localhost
227 PRODUCTION:
228 - db1
229 - db2
230 command:
231 SUDO_RESTRICTED_SU:
232 - /bin/vi /etc/sudoers
233 - /bin/su - root
234 - /bin/su -
235 - /bin/su
236 - /usr/sbin/visudo
237 SUDO_SHELLS:
238 - /bin/sh
239 - /bin/ksh
240 - /bin/bash
241 - /bin/rbash
242 - /bin/dash
243 - /bin/zsh
244 - /bin/csh
245 - /bin/fish
246 - /bin/tcsh
247 - /usr/bin/login
248 - /usr/bin/su
249 - /usr/su
250 SUDO_SALT_SAFE:
251 - /usr/bin/salt state*
252 - /usr/bin/salt service*
253 - /usr/bin/salt pillar*
254 - /usr/bin/salt grains*
255 - /usr/bin/salt saltutil*
256 - /usr/bin/salt-call state*
257 - /usr/bin/salt-call service*
258 - /usr/bin/salt-call pillar*
259 - /usr/bin/salt-call grains*
260 - /usr/bin/salt-call saltutil*
261 SUDO_SALT_TRUSTED:
262 - /usr/bin/salt*
263 users:
264 saltuser1: {}
265 saltuser2:
266 hosts:
267 - LOCAL
268 # User Alias:
269 DBA:
270 hosts:
271 - ALL
272 commands:
273 - SUDO_SALT_SAFE
274 groups:
275 db-ops:
276 hosts:
277 - ALL
278 - '!PRODUCTION'
279 runas:
280 - DBA
281 commands:
282 - /bin/cat *
283 - /bin/less *
284 - /bin/ls *
285 - SUDO_SALT_SAFE
286 - '!SUDO_SHELLS'
287 - '!SUDO_RESTRICTED_SU'
288 salt-ops:
289 hosts:
290 - 'ALL'
291 runas:
292 - SALT
293 commands:
294 - SUDO_SALT_TRUSTED
295 salt-ops2:
296 name: salt-ops
297 runas:
298 - DBA
299 commands:
300 - SUDO_SHELLS
301 sudogroup1:
302 commands:
303 - ALL
304 sudogroup2:
305 commands:
306 - ALL
307 hosts:
308 - localhost
309 users:
310 - test
311 nopasswd: false
312 sudogroup3:
313 commands:
314 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100315 env:
316 BOB_VARIABLE: Alice
317 BOB_PATH:
318 - /srv/alice/bin
319 - /srv/bob/bin
320 HTTPS_PROXY: https://127.0.4.1:443
321 http_proxy: http://127.0.4.2:80
322 ftp_proxy: ftp://127.0.4.3:2121
323 no_proxy:
324 - 192.168.0.1
325 - 192.168.0.2
326 - .saltstack.com
327 - .ubuntu.com
328 - .mirantis.com
329 - .launchpad.net
330 - .dummy.net
331 - .local
332 LANG: C
333 LC_ALL: C
334 profile:
335 vi_flavors.sh: |
336 export PAGER=view
337 alias vi=vim
338 locales: |
339 export LANG=en_US
340 export LC_ALL=en_US.UTF-8
341
342 # pillar for proxy configuration
343 proxy:
344 # for package managers
345 pkg:
346 enabled: true
347 https: https://127.0.2.1:4443
348 #http: http://127.0.2.2
349 ftp: none
350 # fallback, system defaults
351 https: https://127.0.1.1:443
352 #http: http://127.0.1.2
353 ftp: ftp://127.0.1.3
354 noproxy:
355 - host1
356 - host2
357 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300358
359 # pillars for netconsole setup
360 netconsole:
361 enabled: true
362 port: 514
363 loglevel: debug
364 target:
365 192.168.0.1:
366 mac: "ff:ff:ff:ff:ff:ff"
367 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300368 atop:
369 enabled: true
370 interval: 20
371 logpath: "/var/mylog/atop"
372 outfile: "/var/mylog/atop/daily.log"
Oleksii Chupryn144432b2018-05-22 10:34:48 +0300373 mcelog:
374 enabled: true
375 logging:
376 syslog: true
377 syslog_error: true