blob: 8d3931216b452a9e322ecefb0ea97c0592af01cd [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 Pytlouna1898572016-01-25 22:35:13 +010018 motd:
19 - warning: |
20 #!/bin/sh
21 printf "WARNING: This is tcpcloud network.\n"
22 printf " Unauthorized access is strictly prohibited.\n"
23 printf "\n"
24 - info: |
25 #!/bin/sh
26 printf -- "--[tcp cloud]---------------------------\n"
27 printf " Hostname | ${linux:system:name}\n"
28 printf " Domain | ${linux:system:domain}\n"
29 printf " System | %s\n" "$(lsb_release -s -d)"
30 printf " Kernel | %s\n" "$(uname -r)"
31 printf -- "----------------------------------------\n"
32 printf "\n"
33 user:
34 root:
35 enabled: true
36 home: /root
37 name: root
Filip Pytloun54cb3632017-06-14 11:56:59 +020038 testuser:
Filip Pytlouna1898572016-01-25 22:35:13 +010039 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020040 name: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +010041 sudo: true
42 uid: 9999
43 full_name: Test User
44 home: /home/test
Petr Michalec1c4c8d82017-02-28 19:09:21 +010045 groups:
Filip Pytlound281d292017-05-30 15:55:37 +020046 - db-ops
47 - salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +010048 salt_user1:
49 enabled: true
50 name: saltuser1
51 sudo: false
52 uid: 9991
53 full_name: Salt User1
54 home: /home/saltuser1
55 salt_user2:
56 enabled: true
57 name: saltuser2
58 sudo: false
59 uid: 9992
60 full_name: Salt Sudo User2
61 home: /home/saltuser2
Filip Pytlound281d292017-05-30 15:55:37 +020062 groups:
63 - sudogroup1
Filip Pytlouna1898572016-01-25 22:35:13 +010064 group:
Filip Pytloun54cb3632017-06-14 11:56:59 +020065 testgroup:
Filip Pytlouna1898572016-01-25 22:35:13 +010066 enabled: true
Filip Pytloun54cb3632017-06-14 11:56:59 +020067 name: testgroup
Filip Pytlouna1898572016-01-25 22:35:13 +010068 gid: 9999
69 system: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +020070 addusers:
71 - salt_user1
72 - salt_user2
Petr Michalec1c4c8d82017-02-28 19:09:21 +010073 db-ops:
74 enabled: true
Petr Michalec3cd4cb72017-08-01 11:50:42 +020075 delusers:
76 - salt_user1
Petr Michaleca17ea5a2017-08-08 15:46:03 +020077 - dontexistatall
Petr Michalec1c4c8d82017-02-28 19:09:21 +010078 salt-ops:
79 enabled: true
Filip Pytlound281d292017-05-30 15:55:37 +020080 name: salt-ops
Petr Michalec1c4c8d82017-02-28 19:09:21 +010081 sudogroup1:
82 enabled: true
83 name: sudogroup1
84 sudogroup2:
85 enabled: true
86 name: sudogroup2
87 sudogroup3:
88 enabled: false
89 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +010090 job:
91 test:
92 enabled: true
93 command: "/bin/sleep 3"
Filip Pytloun54cb3632017-06-14 11:56:59 +020094 user: testuser
Filip Pytlouna1898572016-01-25 22:35:13 +010095 minute: 0
96 hour: 13
97 package:
98 htop:
99 version: latest
100 repo:
101 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +0100102 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
103 keyid: E79EE90C
104 keyserver: keyserver.ubuntu.com
105 architectures: amd64
106 proxy:
107 enabled: true
108 https: https://127.0.5.1:443
109 #http: http://127.0.5.2:8080
110 apt-mk-salt:
111 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
Petr Michalec1ae62b12017-04-27 14:35:13 +0200112 #key_url: http://apt-mk.mirantis.com/public.gpg
113 key: |
114 -----BEGIN PGP PUBLIC KEY BLOCK-----
115 Version: GnuPG v1
116
117 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
118 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
119 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
120 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
121 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ
122 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYLIB8UjywN+VDqwkNk9jLUSXHTakh
123 dnL4OuGoNpIzms8juVFlnuOmx+FcfbHMbhAc7aPqFK+6J3YS4kJSfeHWJ6cTGoU1
124 cLWEhsbU3Gp8am5fnh72RJ7v2sTe/rvCuVtlNufi5SyBPcEUZoxFVWAC/hMeiWzy
125 drBIVC73raf+A+OjH8op9XfkVj6czxQ/451soe3jvCDGgTXPLlts+P5WhgWNpDPa
126 fOfTHn/2o7NwoM7Vp+BQYKAQ78phsolvNNhf+g51ntoLUbxAGKZYzQ5RPsKo+Hq6
127 96UCFkqhSABk0DvM0LtquzZ+sNoipd02w8EaxQzelDJxvPFGigo1uqGoiQARAQAB
128 tCx0Y3BjbG91ZCBzaWduaW5nIGtleSA8YXV0b2J1aWxkQHRjcGNsb3VkLmV1PokC
129 OwQTAQIAJQIbAwYLCQgHAw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VG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
162 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
163 jtcwJrHue5Xn8UPSLkE=
164 =SWiA
165 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100166 architectures: amd64
167 proxy:
168 enabled: true
169 apt-mk-salt-nightly:
170 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
171 key_url: http://apt-mk.mirantis.com/public.gpg
172 architectures: amd64
173 proxy:
174 enabled: false
175 apt-mk-extra-nightly:
176 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
177 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100178 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200179 locale:
180 en_US.UTF-8:
181 enabled: true
182 default: true
Filip Pytlounee1745f2016-04-04 17:39:41 +0200183 "cs_CZ.UTF-8 UTF-8":
Filip Pytlounc49445a2016-04-04 14:23:20 +0200184 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100185 autoupdates:
186 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100187 sudo:
188 enabled: true
189 alias:
190 runas:
191 DBA:
192 - postgres
193 - mysql
194 SALT:
195 - root
196 host:
197 LOCAL:
198 - localhost
199 PRODUCTION:
200 - db1
201 - db2
202 command:
203 SUDO_RESTRICTED_SU:
204 - /bin/vi /etc/sudoers
205 - /bin/su - root
206 - /bin/su -
207 - /bin/su
208 - /usr/sbin/visudo
209 SUDO_SHELLS:
210 - /bin/sh
211 - /bin/ksh
212 - /bin/bash
213 - /bin/rbash
214 - /bin/dash
215 - /bin/zsh
216 - /bin/csh
217 - /bin/fish
218 - /bin/tcsh
219 - /usr/bin/login
220 - /usr/bin/su
221 - /usr/su
222 SUDO_SALT_SAFE:
223 - /usr/bin/salt state*
224 - /usr/bin/salt service*
225 - /usr/bin/salt pillar*
226 - /usr/bin/salt grains*
227 - /usr/bin/salt saltutil*
228 - /usr/bin/salt-call state*
229 - /usr/bin/salt-call service*
230 - /usr/bin/salt-call pillar*
231 - /usr/bin/salt-call grains*
232 - /usr/bin/salt-call saltutil*
233 SUDO_SALT_TRUSTED:
234 - /usr/bin/salt*
235 users:
236 saltuser1: {}
237 saltuser2:
238 hosts:
239 - LOCAL
240 # User Alias:
241 DBA:
242 hosts:
243 - ALL
244 commands:
245 - SUDO_SALT_SAFE
246 groups:
247 db-ops:
248 hosts:
249 - ALL
250 - '!PRODUCTION'
251 runas:
252 - DBA
253 commands:
254 - /bin/cat *
255 - /bin/less *
256 - /bin/ls *
257 - SUDO_SALT_SAFE
258 - '!SUDO_SHELLS'
259 - '!SUDO_RESTRICTED_SU'
260 salt-ops:
261 hosts:
262 - 'ALL'
263 runas:
264 - SALT
265 commands:
266 - SUDO_SALT_TRUSTED
267 salt-ops2:
268 name: salt-ops
269 runas:
270 - DBA
271 commands:
272 - SUDO_SHELLS
273 sudogroup1:
274 commands:
275 - ALL
276 sudogroup2:
277 commands:
278 - ALL
279 hosts:
280 - localhost
281 users:
282 - test
283 nopasswd: false
284 sudogroup3:
285 commands:
286 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100287 env:
288 BOB_VARIABLE: Alice
289 BOB_PATH:
290 - /srv/alice/bin
291 - /srv/bob/bin
292 HTTPS_PROXY: https://127.0.4.1:443
293 http_proxy: http://127.0.4.2:80
294 ftp_proxy: ftp://127.0.4.3:2121
295 no_proxy:
296 - 192.168.0.1
297 - 192.168.0.2
298 - .saltstack.com
299 - .ubuntu.com
300 - .mirantis.com
301 - .launchpad.net
302 - .dummy.net
303 - .local
304 LANG: C
305 LC_ALL: C
306 profile:
307 vi_flavors.sh: |
308 export PAGER=view
309 alias vi=vim
310 locales: |
311 export LANG=en_US
312 export LC_ALL=en_US.UTF-8
313
314 # pillar for proxy configuration
315 proxy:
316 # for package managers
317 pkg:
318 enabled: true
319 https: https://127.0.2.1:4443
320 #http: http://127.0.2.2
321 ftp: none
322 # fallback, system defaults
323 https: https://127.0.1.1:443
324 #http: http://127.0.1.2
325 ftp: ftp://127.0.1.3
326 noproxy:
327 - host1
328 - host2
329 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300330
331 # pillars for netconsole setup
332 netconsole:
333 enabled: true
334 port: 514
335 loglevel: debug
336 target:
337 192.168.0.1:
338 mac: "ff:ff:ff:ff:ff:ff"
339 interface: bond0