blob: c97fb21720dc350087f7c36f09a3e16347cbee3c [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
38 test:
39 enabled: true
40 name: test
41 sudo: true
42 uid: 9999
43 full_name: Test User
44 home: /home/test
Petr Michalec1c4c8d82017-02-28 19:09:21 +010045 groups:
46 - root
47 salt_user1:
48 enabled: true
49 name: saltuser1
50 sudo: false
51 uid: 9991
52 full_name: Salt User1
53 home: /home/saltuser1
54 salt_user2:
55 enabled: true
56 name: saltuser2
57 sudo: false
58 uid: 9992
59 full_name: Salt Sudo User2
60 home: /home/saltuser2
Filip Pytlouna1898572016-01-25 22:35:13 +010061 group:
62 test:
63 enabled: true
64 name: test
65 gid: 9999
66 system: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +010067 db-ops:
68 enabled: true
69 name: testgroup
70 salt-ops:
71 enabled: true
72 name: sudogroup0
73 sudogroup1:
74 enabled: true
75 name: sudogroup1
76 sudogroup2:
77 enabled: true
78 name: sudogroup2
79 sudogroup3:
80 enabled: false
81 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +010082 job:
83 test:
84 enabled: true
85 command: "/bin/sleep 3"
86 user: test
87 minute: 0
88 hour: 13
89 package:
90 htop:
91 version: latest
92 repo:
93 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +010094 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
95 keyid: E79EE90C
96 keyserver: keyserver.ubuntu.com
97 architectures: amd64
98 proxy:
99 enabled: true
100 https: https://127.0.5.1:443
101 #http: http://127.0.5.2:8080
102 apt-mk-salt:
103 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
Petr Michalec1ae62b12017-04-27 14:35:13 +0200104 #key_url: http://apt-mk.mirantis.com/public.gpg
105 key: |
106 -----BEGIN PGP PUBLIC KEY BLOCK-----
107 Version: GnuPG v1
108
109 mQINBFWBfCIBEADf6lnsY9v4rf/x0ribkFlnHnsv1/yD+M+YgZoQxYdf6b7M4/PY
110 zZ/c3uJt4l1vR3Yoocfc1VgtBNfA1ussBqXdmyRBMO1LKdQWnurNxWLW7CwcyNke
111 xeBfhjOqA6tIIXMfor7uUrwlIxJIxK+jc3C3nhM46QZpWX5d4mlkgxKh1G4ZRj4A
112 mEo2NduLUgfmF+gM1MmAbU8ekzciKet4TsM64WAtHyYllGKvuFSdBjsewO3McuhR
113 i1Desb5QdfIU4p3gkIa0EqlkkqX4rowo5qUnl670TNTTZHaz0MxCBoYaGbGhS7gZ
114 6/PLm8fJHmU/phst/QmOY76a5efZWbhhnlyYL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IyiWF3/sh674zCkCm5DQ/FH8IJ8Y
147 n4jMoxe7G48PCGtgcJKXo8NBzxwXJH4DCdk7rNdrbrnCwObG8h6530WrmzKuyFCJ
148 QP5JA0MSx23J2OrK2YmVMhTeO0czJ8fRip9We9/qAfZGUEW+sey+nLmT5OJq04al
149 Va9g2a4nXxzDy84+hRXQNUeCRYn/ys8d8q9HZNv3K36HlILcuWazNTTh0cuWupBd
150 SlIEuWbIdbknYpGsmS1cPeGi0bdoLZv90BIVmdOS/vXP02fGUblyANciKcBPRhOI
151 +z6hzwdZ+QvjPbxZUig5XuvqBhIHoRtMBJdf24ysFuf/d4uZzTC8T4rUQO+L29bt
152 8riT0dg6cHVwC0VH89FaO1FduvsCtAwdAgxSzOMBECNOmVBThIiWdLnns107Rp4F
153 ECk+l2UCjl7zwGqJqcd1BQK+UgZwVG2UV11CrhopKU5oGL84n5DaO2n6Rv8wVdrt
154 MKvqi7EkgvZpY0IHJ7rp0Gzrv0qmwJaUFCWFogITNyijb1JVsUgDTMhAkEgEsIYy
155 jtcwJrHue5Xn8UPSLkE=
156 =SWiA
157 -----END PGP PUBLIC KEY BLOCK-----
Petr Michalec10462bb2017-03-23 19:18:08 +0100158 architectures: amd64
159 proxy:
160 enabled: true
161 apt-mk-salt-nightly:
162 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
163 key_url: http://apt-mk.mirantis.com/public.gpg
164 architectures: amd64
165 proxy:
166 enabled: false
167 apt-mk-extra-nightly:
168 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
169 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100170 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200171 locale:
172 en_US.UTF-8:
173 enabled: true
174 default: true
Filip Pytlounee1745f2016-04-04 17:39:41 +0200175 "cs_CZ.UTF-8 UTF-8":
Filip Pytlounc49445a2016-04-04 14:23:20 +0200176 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100177 autoupdates:
178 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100179 sudo:
180 enabled: true
181 alias:
182 runas:
183 DBA:
184 - postgres
185 - mysql
186 SALT:
187 - root
188 host:
189 LOCAL:
190 - localhost
191 PRODUCTION:
192 - db1
193 - db2
194 command:
195 SUDO_RESTRICTED_SU:
196 - /bin/vi /etc/sudoers
197 - /bin/su - root
198 - /bin/su -
199 - /bin/su
200 - /usr/sbin/visudo
201 SUDO_SHELLS:
202 - /bin/sh
203 - /bin/ksh
204 - /bin/bash
205 - /bin/rbash
206 - /bin/dash
207 - /bin/zsh
208 - /bin/csh
209 - /bin/fish
210 - /bin/tcsh
211 - /usr/bin/login
212 - /usr/bin/su
213 - /usr/su
214 SUDO_SALT_SAFE:
215 - /usr/bin/salt state*
216 - /usr/bin/salt service*
217 - /usr/bin/salt pillar*
218 - /usr/bin/salt grains*
219 - /usr/bin/salt saltutil*
220 - /usr/bin/salt-call state*
221 - /usr/bin/salt-call service*
222 - /usr/bin/salt-call pillar*
223 - /usr/bin/salt-call grains*
224 - /usr/bin/salt-call saltutil*
225 SUDO_SALT_TRUSTED:
226 - /usr/bin/salt*
227 users:
228 saltuser1: {}
229 saltuser2:
230 hosts:
231 - LOCAL
232 # User Alias:
233 DBA:
234 hosts:
235 - ALL
236 commands:
237 - SUDO_SALT_SAFE
238 groups:
239 db-ops:
240 hosts:
241 - ALL
242 - '!PRODUCTION'
243 runas:
244 - DBA
245 commands:
246 - /bin/cat *
247 - /bin/less *
248 - /bin/ls *
249 - SUDO_SALT_SAFE
250 - '!SUDO_SHELLS'
251 - '!SUDO_RESTRICTED_SU'
252 salt-ops:
253 hosts:
254 - 'ALL'
255 runas:
256 - SALT
257 commands:
258 - SUDO_SALT_TRUSTED
259 salt-ops2:
260 name: salt-ops
261 runas:
262 - DBA
263 commands:
264 - SUDO_SHELLS
265 sudogroup1:
266 commands:
267 - ALL
268 sudogroup2:
269 commands:
270 - ALL
271 hosts:
272 - localhost
273 users:
274 - test
275 nopasswd: false
276 sudogroup3:
277 commands:
278 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100279 env:
280 BOB_VARIABLE: Alice
281 BOB_PATH:
282 - /srv/alice/bin
283 - /srv/bob/bin
284 HTTPS_PROXY: https://127.0.4.1:443
285 http_proxy: http://127.0.4.2:80
286 ftp_proxy: ftp://127.0.4.3:2121
287 no_proxy:
288 - 192.168.0.1
289 - 192.168.0.2
290 - .saltstack.com
291 - .ubuntu.com
292 - .mirantis.com
293 - .launchpad.net
294 - .dummy.net
295 - .local
296 LANG: C
297 LC_ALL: C
298 profile:
299 vi_flavors.sh: |
300 export PAGER=view
301 alias vi=vim
302 locales: |
303 export LANG=en_US
304 export LC_ALL=en_US.UTF-8
305
306 # pillar for proxy configuration
307 proxy:
308 # for package managers
309 pkg:
310 enabled: true
311 https: https://127.0.2.1:4443
312 #http: http://127.0.2.2
313 ftp: none
314 # fallback, system defaults
315 https: https://127.0.1.1:443
316 #http: http://127.0.1.2
317 ftp: ftp://127.0.1.3
318 noproxy:
319 - host1
320 - host2
321 - .local
Vladimir Ereminccf28842017-04-10 23:52:10 +0300322
323 # pillars for netconsole setup
324 netconsole:
325 enabled: true
326 port: 514
327 loglevel: debug
328 target:
329 192.168.0.1:
330 mac: "ff:ff:ff:ff:ff:ff"
331 interface: bond0