blob: bcbfa0853f1117b33cc64965989641b154a85304 [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
82 salt_user2:
83 enabled: true
84 name: saltuser2
85 sudo: false
86 uid: 9992
87 full_name: Salt Sudo User2
88 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +020089 groups:
90 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +010091 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +020092 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +010093 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020094 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +010095 gid: 9999
96 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +020097 addusers:
98 - salt_user1
99 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100100 db-ops:
101 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +0200102 delusers:
103 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200104 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100105 salt-ops:
106 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200107 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100108 sudogroup1:
109 enabled: true
110 name: sudogroup1
111 sudogroup2:
112 enabled: true
113 name: sudogroup2
114 sudogroup3:
115 enabled: false
116 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100117 job:
118 test:
119 enabled: true
120 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200121 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100122 minute: 0
123 hour: 13
124 package:
125 htop:
126 version: latest
127 repo:
128 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100129 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
130 keyid: E79EE90C
131 keyserver: keyserver.ubuntu.com
132 architectures: amd64
133 proxy:
134 enabled: true
135 https: https://127.0.5.1:443
136 #http: http://127.0.5.2:8080
137 apt-mk-salt:
138 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
Petr Michalec1ae62b12017-04-27 14:35:13 +0200139 #key_url: http://apt-mk.mirantis.com/public.gpg
140 key: |
141 -----BEGIN PGP PUBLIC KEY BLOCK-----
142 Version: GnuPG v1
143
144 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
145 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
146 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
147 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
148 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ
149 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYLIB8UjywN+VDqwkNk9jLU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/FH8IJ8Y
182 n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ
183 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
184 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
185 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
186 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
187 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
188 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
189 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
190 jtcwJrHue5Xn8UPSLkE=
191 =SWiA
192 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100193 architectures: amd64
194 proxy:
195 enabled: true
196 apt-mk-salt-nightly:
197 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
198 key_url: http://apt-mk.mirantis.com/public.gpg
199 architectures: amd64
200 proxy:
201 enabled: false
202 apt-mk-extra-nightly:
203 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
204 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100205 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200206 locale:
207 en_US.UTF-8:
208 enabled: true
209 default: true
Filip Pytlounee1745f2016-04-04 17:39:41 +0200210 "cs_CZ.UTF-8 UTF-8":
Filip Pytlounc49445a2016-04-04 14:23:20 +0200211 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100212 autoupdates:
213 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100214 sudo:
215 enabled: true
216 alias:
217 runas:
218 DBA:
219 - postgres
220 - mysql
221 SALT:
222 - root
223 host:
224 LOCAL:
225 - localhost
226 PRODUCTION:
227 - db1
228 - db2
229 command:
230 SUDO_RESTRICTED_SU:
231 - /bin/vi /etc/sudoers
232 - /bin/su - root
233 - /bin/su -
234 - /bin/su
235 - /usr/sbin/visudo
236 SUDO_SHELLS:
237 - /bin/sh
238 - /bin/ksh
239 - /bin/bash
240 - /bin/rbash
241 - /bin/dash
242 - /bin/zsh
243 - /bin/csh
244 - /bin/fish
245 - /bin/tcsh
246 - /usr/bin/login
247 - /usr/bin/su
248 - /usr/su
249 SUDO_SALT_SAFE:
250 - /usr/bin/salt state*
251 - /usr/bin/salt service*
252 - /usr/bin/salt pillar*
253 - /usr/bin/salt grains*
254 - /usr/bin/salt saltutil*
255 - /usr/bin/salt-call state*
256 - /usr/bin/salt-call service*
257 - /usr/bin/salt-call pillar*
258 - /usr/bin/salt-call grains*
259 - /usr/bin/salt-call saltutil*
260 SUDO_SALT_TRUSTED:
261 - /usr/bin/salt*
262 users:
263 saltuser1: {}
264 saltuser2:
265 hosts:
266 - LOCAL
267 # User Alias:
268 DBA:
269 hosts:
270 - ALL
271 commands:
272 - SUDO_SALT_SAFE
273 groups:
274 db-ops:
275 hosts:
276 - ALL
277 - '!PRODUCTION'
278 runas:
279 - DBA
280 commands:
281 - /bin/cat *
282 - /bin/less *
283 - /bin/ls *
284 - SUDO_SALT_SAFE
285 - '!SUDO_SHELLS'
286 - '!SUDO_RESTRICTED_SU'
287 salt-ops:
288 hosts:
289 - 'ALL'
290 runas:
291 - SALT
292 commands:
293 - SUDO_SALT_TRUSTED
294 salt-ops2:
295 name: salt-ops
296 runas:
297 - DBA
298 commands:
299 - SUDO_SHELLS
300 sudogroup1:
301 commands:
302 - ALL
303 sudogroup2:
304 commands:
305 - ALL
306 hosts:
307 - localhost
308 users:
309 - test
310 nopasswd: false
311 sudogroup3:
312 commands:
313 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100314 env:
315 BOB_VARIABLE: Alice
316 BOB_PATH:
317 - /srv/alice/bin
318 - /srv/bob/bin
319 HTTPS_PROXY: https://127.0.4.1:443
320 http_proxy: http://127.0.4.2:80
321 ftp_proxy: ftp://127.0.4.3:2121
322 no_proxy:
323 - 192.168.0.1
324 - 192.168.0.2
325 - .saltstack.com
326 - .ubuntu.com
327 - .mirantis.com
328 - .launchpad.net
329 - .dummy.net
330 - .local
331 LANG: C
332 LC_ALL: C
333 profile:
334 vi_flavors.sh: |
335 export PAGER=view
336 alias vi=vim
337 locales: |
338 export LANG=en_US
339 export LC_ALL=en_US.UTF-8
340
341 # pillar for proxy configuration
342 proxy:
343 # for package managers
344 pkg:
345 enabled: true
346 https: https://127.0.2.1:4443
347 #http: http://127.0.2.2
348 ftp: none
349 # fallback, system defaults
350 https: https://127.0.1.1:443
351 #http: http://127.0.1.2
352 ftp: ftp://127.0.1.3
353 noproxy:
354 - host1
355 - host2
356 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300357
358 # pillars for netconsole setup
359 netconsole:
360 enabled: true
361 port: 514
362 loglevel: debug
363 target:
364 192.168.0.1:
365 mac: "ff:ff:ff:ff:ff:ff"
366 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300367 atop:
368 enabled: true
369 interval: 20
370 logpath: "/var/mylog/atop"
371 outfile: "/var/mylog/atop/daily.log"