blob: f39fdde993b2c0472605919ebaae48ee1324b37f [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 Pytlouna1898572016-01-25 22:35:13 +010010 apparmor:
11 enabled: false
Filip Pytloun8296bb92016-02-19 18:42:09 +010012 haveged:
13 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010014 prompt:
Petr Michalec1c4c8d82017-02-28 19:09:21 +010015 default: "linux.ci.local$"
Jakub Pavlikb148c8c2017-02-12 21:30:48 +010016 kernel:
Jakub Pavlik6c9ead12017-02-16 21:53:13 +010017 isolcpu: 1,2,3,4
Filip Pytloun361096c2017-08-23 10:57:20 +020018 sysfs:
19 scheduler:
20 block/sda/queue/scheduler: deadline
21 power:
22 mode:
23 power/state: 0660
24 owner:
25 power/state: "root:power"
26 devices/system/cpu/cpu0/cpufreq/scaling_governor: powersave
Filip Pytlouna1898572016-01-25 22:35:13 +010027 motd:
28 - warning: |
29 #!/bin/sh
30 printf "WARNING: This is tcpcloud network.\n"
31 printf " Unauthorized access is strictly prohibited.\n"
32 printf "\n"
33 - info: |
34 #!/bin/sh
35 printf -- "--[tcp cloud]---------------------------\n"
36 printf " Hostname | ${linux:system:name}\n"
37 printf " Domain | ${linux:system:domain}\n"
38 printf " System | %s\n" "$(lsb_release -s -d)"
39 printf " Kernel | %s\n" "$(uname -r)"
40 printf -- "----------------------------------------\n"
41 printf "\n"
42 user:
43 root:
44 enabled: true
45 home: /root
46 name: root
Filip Pytloun54cb3632017-06-14 11:56:59 +020047 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +010048 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020049 name: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +010050 sudo: true
51 uid: 9999
52 full_name: Test User
53 home: /home/test
Petr Michalec1c4c8d82017-02-28 19:09:21 +010054 groups:
Filip Pytlound281d292017-05-30 15:55:37 +020055 - db-ops
56 - salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +010057 salt_user1:
58 enabled: true
59 name: saltuser1
60 sudo: false
61 uid: 9991
62 full_name: Salt User1
63 home: /home/saltuser1
64 salt_user2:
65 enabled: true
66 name: saltuser2
67 sudo: false
68 uid: 9992
69 full_name: Salt Sudo User2
70 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +020071 groups:
72 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +010073 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +020074 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +010075 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020076 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +010077 gid: 9999
78 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +020079 addusers:
80 - salt_user1
81 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +010082 db-ops:
83 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +020084 delusers:
85 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +020086 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +010087 salt-ops:
88 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +020089 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +010090 sudogroup1:
91 enabled: true
92 name: sudogroup1
93 sudogroup2:
94 enabled: true
95 name: sudogroup2
96 sudogroup3:
97 enabled: false
98 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +010099 job:
100 test:
101 enabled: true
102 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +0200103 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +0100104 minute: 0
105 hour: 13
106 package:
107 htop:
108 version: latest
109 repo:
110 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100111 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
112 keyid: E79EE90C
113 keyserver: keyserver.ubuntu.com
114 architectures: amd64
115 proxy:
116 enabled: true
117 https: https://127.0.5.1:443
118 #http: http://127.0.5.2:8080
119 apt-mk-salt:
120 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
Petr Michalec1ae62b12017-04-27 14:35:13 +0200121 #key_url: http://apt-mk.mirantis.com/public.gpg
122 key: |
123 -----BEGIN PGP PUBLIC KEY BLOCK-----
124 Version: GnuPG v1
125
126 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
127 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
128 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
129 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
130 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ
131 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYLIB8UjywN+VDqwkNk9jLUSXHTakh
132 dnL4OuGoNpIzms8juVFlnuOmx+FcfbHMbhAc7aPqFK+6J3YS4kJSfeHWJ6cTGoU1
133 cLWEhsbU3Gp8am5fnh72RJ7v2sTe/rvCuVtlNufi5SyBPcEUZoxFVWAC/hMeiWzy
134 drBIVC73raf+A+OjH8op9XfkVj6czxQ/451soe3jvCDGgTXPLlts+P5WhgWNpDPa
135 fOfTHn/2o7NwoM7Vp+BQYKAQ78phsolvNNhf+g51ntoLUbxAGKZYzQ5RPsKo+Hq6
136 96UCFkqhSABk0DvM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XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
169 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
170 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
171 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
172 jtcwJrHue5Xn8UPSLkE=
173 =SWiA
174 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100175 architectures: amd64
176 proxy:
177 enabled: true
178 apt-mk-salt-nightly:
179 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
180 key_url: http://apt-mk.mirantis.com/public.gpg
181 architectures: amd64
182 proxy:
183 enabled: false
184 apt-mk-extra-nightly:
185 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
186 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100187 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200188 locale:
189 en_US.UTF-8:
190 enabled: true
191 default: true
Filip Pytlounee1745f2016-04-04 17:39:41 +0200192 "cs_CZ.UTF-8 UTF-8":
Filip Pytlounc49445a2016-04-04 14:23:20 +0200193 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100194 autoupdates:
195 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100196 sudo:
197 enabled: true
198 alias:
199 runas:
200 DBA:
201 - postgres
202 - mysql
203 SALT:
204 - root
205 host:
206 LOCAL:
207 - localhost
208 PRODUCTION:
209 - db1
210 - db2
211 command:
212 SUDO_RESTRICTED_SU:
213 - /bin/vi /etc/sudoers
214 - /bin/su - root
215 - /bin/su -
216 - /bin/su
217 - /usr/sbin/visudo
218 SUDO_SHELLS:
219 - /bin/sh
220 - /bin/ksh
221 - /bin/bash
222 - /bin/rbash
223 - /bin/dash
224 - /bin/zsh
225 - /bin/csh
226 - /bin/fish
227 - /bin/tcsh
228 - /usr/bin/login
229 - /usr/bin/su
230 - /usr/su
231 SUDO_SALT_SAFE:
232 - /usr/bin/salt state*
233 - /usr/bin/salt service*
234 - /usr/bin/salt pillar*
235 - /usr/bin/salt grains*
236 - /usr/bin/salt saltutil*
237 - /usr/bin/salt-call state*
238 - /usr/bin/salt-call service*
239 - /usr/bin/salt-call pillar*
240 - /usr/bin/salt-call grains*
241 - /usr/bin/salt-call saltutil*
242 SUDO_SALT_TRUSTED:
243 - /usr/bin/salt*
244 users:
245 saltuser1: {}
246 saltuser2:
247 hosts:
248 - LOCAL
249 # User Alias:
250 DBA:
251 hosts:
252 - ALL
253 commands:
254 - SUDO_SALT_SAFE
255 groups:
256 db-ops:
257 hosts:
258 - ALL
259 - '!PRODUCTION'
260 runas:
261 - DBA
262 commands:
263 - /bin/cat *
264 - /bin/less *
265 - /bin/ls *
266 - SUDO_SALT_SAFE
267 - '!SUDO_SHELLS'
268 - '!SUDO_RESTRICTED_SU'
269 salt-ops:
270 hosts:
271 - 'ALL'
272 runas:
273 - SALT
274 commands:
275 - SUDO_SALT_TRUSTED
276 salt-ops2:
277 name: salt-ops
278 runas:
279 - DBA
280 commands:
281 - SUDO_SHELLS
282 sudogroup1:
283 commands:
284 - ALL
285 sudogroup2:
286 commands:
287 - ALL
288 hosts:
289 - localhost
290 users:
291 - test
292 nopasswd: false
293 sudogroup3:
294 commands:
295 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100296 env:
297 BOB_VARIABLE: Alice
298 BOB_PATH:
299 - /srv/alice/bin
300 - /srv/bob/bin
301 HTTPS_PROXY: https://127.0.4.1:443
302 http_proxy: http://127.0.4.2:80
303 ftp_proxy: ftp://127.0.4.3:2121
304 no_proxy:
305 - 192.168.0.1
306 - 192.168.0.2
307 - .saltstack.com
308 - .ubuntu.com
309 - .mirantis.com
310 - .launchpad.net
311 - .dummy.net
312 - .local
313 LANG: C
314 LC_ALL: C
315 profile:
316 vi_flavors.sh: |
317 export PAGER=view
318 alias vi=vim
319 locales: |
320 export LANG=en_US
321 export LC_ALL=en_US.UTF-8
322
323 # pillar for proxy configuration
324 proxy:
325 # for package managers
326 pkg:
327 enabled: true
328 https: https://127.0.2.1:4443
329 #http: http://127.0.2.2
330 ftp: none
331 # fallback, system defaults
332 https: https://127.0.1.1:443
333 #http: http://127.0.1.2
334 ftp: ftp://127.0.1.3
335 noproxy:
336 - host1
337 - host2
338 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300339
340 # pillars for netconsole setup
341 netconsole:
342 enabled: true
343 port: 514
344 loglevel: debug
345 target:
346 192.168.0.1:
347 mac: "ff:ff:ff:ff:ff:ff"
348 interface: bond0