blob: d54258715a6041a1655186e00a6a2c801bbc14e0 [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
Jiri Broulik303905d2018-01-11 14:12:48 +010022 cgroup:
23 group:
24 group_1:
25 controller:
26 cpu:
27 shares:
28 value: 250
29 mapping:
30 subjects:
31 - '@group1'
Filip Pytloun361096c2017-08-23 10:57:20 +020032 sysfs:
33 scheduler:
34 block/sda/queue/scheduler: deadline
35 power:
36 mode:
37 power/state: 0660
38 owner:
39 power/state: "root:power"
40 devices/system/cpu/cpu0/cpufreq/scaling_governor: powersave
Filip Pytlouna1898572016-01-25 22:35:13 +010041 motd:
42 - warning: |
43 #!/bin/sh
44 printf "WARNING: This is tcpcloud network.\n"
45 printf " Unauthorized access is strictly prohibited.\n"
46 printf "\n"
47 - info: |
48 #!/bin/sh
49 printf -- "--[tcp cloud]---------------------------\n"
50 printf " Hostname | ${linux:system:name}\n"
51 printf " Domain | ${linux:system:domain}\n"
52 printf " System | %s\n" "$(lsb_release -s -d)"
53 printf " Kernel | %s\n" "$(uname -r)"
54 printf -- "----------------------------------------\n"
55 printf "\n"
56 user:
57 root:
58 enabled: true
59 home: /root
60 name: root
Filip Pytloun54cb3632017-06-14 11:56:59 +020061 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +010062 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020063 name: testuser
Martin Polreich72f61c42018-01-19 13:55:09 +010064 password: passw0rd
Filip Pytlouna1898572016-01-25 22:35:13 +010065 sudo: true
66 uid: 9999
67 full_name: Test User
68 home: /home/test
Petr Michalec1c4c8d82017-02-28 19:09:21 +010069 groups:
Filip Pytlound281d292017-05-30 15:55:37 +020070 - db-ops
71 - salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +010072 salt_user1:
73 enabled: true
74 name: saltuser1
75 sudo: false
76 uid: 9991
77 full_name: Salt User1
78 home: /home/saltuser1
79 salt_user2:
80 enabled: true
81 name: saltuser2
82 sudo: false
83 uid: 9992
84 full_name: Salt Sudo User2
85 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +020086 groups:
87 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +010088 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +020089 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +010090 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020091 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +010092 gid: 9999
93 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +020094 addusers:
95 - salt_user1
96 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +010097 db-ops:
98 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +020099 delusers:
100 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +0200101 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100102 salt-ops:
103 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +0200104 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100105 sudogroup1:
106 enabled: true
107 name: sudogroup1
108 sudogroup2:
109 enabled: true
110 name: sudogroup2
111 sudogroup3:
112 enabled: false
113 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +0100114 job:
115 test:
116 enabled: true
117 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200118 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100119 minute: 0
120 hour: 13
121 package:
122 htop:
123 version: latest
124 repo:
125 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100126 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
127 keyid: E79EE90C
128 keyserver: keyserver.ubuntu.com
129 architectures: amd64
130 proxy:
131 enabled: true
132 https: https://127.0.5.1:443
133 #http: http://127.0.5.2:8080
134 apt-mk-salt:
135 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
Petr Michalec1ae62b12017-04-27 14:35:13 +0200136 #key_url: http://apt-mk.mirantis.com/public.gpg
137 key: |
138 -----BEGIN PGP PUBLIC KEY BLOCK-----
139 Version: GnuPG v1
140
141 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
142 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
143 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
144 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
145 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ
146 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYLIB8UjywN+VDqwkNk9jLUSXHTakh
147 dnL4OuGoNpIzms8juVFlnuOmx+FcfbHMbhAc7aPqFK+6J3YS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CwObG8h6530WrmzKuyFCJ
180 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
181 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
182 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
183 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
184 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
185 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
186 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
187 jtcwJrHue5Xn8UPSLkE=
188 =SWiA
189 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100190 architectures: amd64
191 proxy:
192 enabled: true
193 apt-mk-salt-nightly:
194 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
195 key_url: http://apt-mk.mirantis.com/public.gpg
196 architectures: amd64
197 proxy:
198 enabled: false
199 apt-mk-extra-nightly:
200 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
201 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100202 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200203 locale:
204 en_US.UTF-8:
205 enabled: true
206 default: true
Filip Pytlounee1745f2016-04-04 17:39:41 +0200207 "cs_CZ.UTF-8 UTF-8":
Filip Pytlounc49445a2016-04-04 14:23:20 +0200208 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100209 autoupdates:
210 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100211 sudo:
212 enabled: true
213 alias:
214 runas:
215 DBA:
216 - postgres
217 - mysql
218 SALT:
219 - root
220 host:
221 LOCAL:
222 - localhost
223 PRODUCTION:
224 - db1
225 - db2
226 command:
227 SUDO_RESTRICTED_SU:
228 - /bin/vi /etc/sudoers
229 - /bin/su - root
230 - /bin/su -
231 - /bin/su
232 - /usr/sbin/visudo
233 SUDO_SHELLS:
234 - /bin/sh
235 - /bin/ksh
236 - /bin/bash
237 - /bin/rbash
238 - /bin/dash
239 - /bin/zsh
240 - /bin/csh
241 - /bin/fish
242 - /bin/tcsh
243 - /usr/bin/login
244 - /usr/bin/su
245 - /usr/su
246 SUDO_SALT_SAFE:
247 - /usr/bin/salt state*
248 - /usr/bin/salt service*
249 - /usr/bin/salt pillar*
250 - /usr/bin/salt grains*
251 - /usr/bin/salt saltutil*
252 - /usr/bin/salt-call state*
253 - /usr/bin/salt-call service*
254 - /usr/bin/salt-call pillar*
255 - /usr/bin/salt-call grains*
256 - /usr/bin/salt-call saltutil*
257 SUDO_SALT_TRUSTED:
258 - /usr/bin/salt*
259 users:
260 saltuser1: {}
261 saltuser2:
262 hosts:
263 - LOCAL
264 # User Alias:
265 DBA:
266 hosts:
267 - ALL
268 commands:
269 - SUDO_SALT_SAFE
270 groups:
271 db-ops:
272 hosts:
273 - ALL
274 - '!PRODUCTION'
275 runas:
276 - DBA
277 commands:
278 - /bin/cat *
279 - /bin/less *
280 - /bin/ls *
281 - SUDO_SALT_SAFE
282 - '!SUDO_SHELLS'
283 - '!SUDO_RESTRICTED_SU'
284 salt-ops:
285 hosts:
286 - 'ALL'
287 runas:
288 - SALT
289 commands:
290 - SUDO_SALT_TRUSTED
291 salt-ops2:
292 name: salt-ops
293 runas:
294 - DBA
295 commands:
296 - SUDO_SHELLS
297 sudogroup1:
298 commands:
299 - ALL
300 sudogroup2:
301 commands:
302 - ALL
303 hosts:
304 - localhost
305 users:
306 - test
307 nopasswd: false
308 sudogroup3:
309 commands:
310 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100311 env:
312 BOB_VARIABLE: Alice
313 BOB_PATH:
314 - /srv/alice/bin
315 - /srv/bob/bin
316 HTTPS_PROXY: https://127.0.4.1:443
317 http_proxy: http://127.0.4.2:80
318 ftp_proxy: ftp://127.0.4.3:2121
319 no_proxy:
320 - 192.168.0.1
321 - 192.168.0.2
322 - .saltstack.com
323 - .ubuntu.com
324 - .mirantis.com
325 - .launchpad.net
326 - .dummy.net
327 - .local
328 LANG: C
329 LC_ALL: C
330 profile:
331 vi_flavors.sh: |
332 export PAGER=view
333 alias vi=vim
334 locales: |
335 export LANG=en_US
336 export LC_ALL=en_US.UTF-8
337
338 # pillar for proxy configuration
339 proxy:
340 # for package managers
341 pkg:
342 enabled: true
343 https: https://127.0.2.1:4443
344 #http: http://127.0.2.2
345 ftp: none
346 # fallback, system defaults
347 https: https://127.0.1.1:443
348 #http: http://127.0.1.2
349 ftp: ftp://127.0.1.3
350 noproxy:
351 - host1
352 - host2
353 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300354
355 # pillars for netconsole setup
356 netconsole:
357 enabled: true
358 port: 514
359 loglevel: debug
360 target:
361 192.168.0.1:
362 mac: "ff:ff:ff:ff:ff:ff"
363 interface: bond0
Serhiy Ovsianikov67bd56a2017-08-11 15:56:01 +0300364 atop:
365 enabled: true
366 interval: 20
367 logpath: "/var/mylog/atop"
368 outfile: "/var/mylog/atop/daily.log"