blob: 216bca5f31b22289a6cd0e2d3f2ff3e2e3d56d51 [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
Filip Pytlouna1898572016-01-25 22:35:13 +01009 apparmor:
10 enabled: false
Filip Pytloun8296bb92016-02-19 18:42:09 +010011 haveged:
12 enabled: true
Filip Pytlouna1898572016-01-25 22:35:13 +010013 prompt:
Petr Michalec1c4c8d82017-02-28 19:09:21 +010014 default: "linux.ci.local$"
Jakub Pavlikb148c8c2017-02-12 21:30:48 +010015 kernel:
Jakub Pavlik6c9ead12017-02-16 21:53:13 +010016 isolcpu: 1,2,3,4
Filip Pytlouna1898572016-01-25 22:35:13 +010017 motd:
18 - warning: |
19 #!/bin/sh
20 printf "WARNING: This is tcpcloud network.\n"
21 printf " Unauthorized access is strictly prohibited.\n"
22 printf "\n"
23 - info: |
24 #!/bin/sh
25 printf -- "--[tcp cloud]---------------------------\n"
26 printf " Hostname | ${linux:system:name}\n"
27 printf " Domain | ${linux:system:domain}\n"
28 printf " System | %s\n" "$(lsb_release -s -d)"
29 printf " Kernel | %s\n" "$(uname -r)"
30 printf -- "----------------------------------------\n"
31 printf "\n"
32 user:
33 root:
34 enabled: true
35 home: /root
36 name: root
37 test:
38 enabled: true
39 name: test
40 sudo: true
41 uid: 9999
42 full_name: Test User
43 home: /home/test
Petr Michalec1c4c8d82017-02-28 19:09:21 +010044 groups:
45 - root
46 salt_user1:
47 enabled: true
48 name: saltuser1
49 sudo: false
50 uid: 9991
51 full_name: Salt User1
52 home: /home/saltuser1
53 salt_user2:
54 enabled: true
55 name: saltuser2
56 sudo: false
57 uid: 9992
58 full_name: Salt Sudo User2
59 home: /home/saltuser2
Filip Pytlouna1898572016-01-25 22:35:13 +010060 group:
61 test:
62 enabled: true
63 name: test
64 gid: 9999
65 system: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +010066 db-ops:
67 enabled: true
68 name: testgroup
69 salt-ops:
70 enabled: true
71 name: sudogroup0
72 sudogroup1:
73 enabled: true
74 name: sudogroup1
75 sudogroup2:
76 enabled: true
77 name: sudogroup2
78 sudogroup3:
79 enabled: false
80 name: sudogroup3
Filip Pytlouna1898572016-01-25 22:35:13 +010081 job:
82 test:
83 enabled: true
84 command: "/bin/sleep 3"
85 user: test
86 minute: 0
87 hour: 13
88 package:
89 htop:
90 version: latest
91 repo:
92 opencontrail:
Petr Michalec10462bb2017-03-23 19:18:08 +010093 source: "deb http://ppa.launchpad.net/tcpcloud/contrail-3.0/ubuntu xenial main"
94 keyid: E79EE90C
95 keyserver: keyserver.ubuntu.com
96 architectures: amd64
97 proxy:
98 enabled: true
99 https: https://127.0.5.1:443
100 #http: http://127.0.5.2:8080
101 apt-mk-salt:
102 source: "deb http://apt-mk.mirantis.com/xenial stable salt"
103 key_url: http://apt-mk.mirantis.com/public.gpg
104 architectures: amd64
105 proxy:
106 enabled: true
107 apt-mk-salt-nightly:
108 source: "deb http://apt-mk.mirantis.com/xenial nightly salt"
109 key_url: http://apt-mk.mirantis.com/public.gpg
110 architectures: amd64
111 proxy:
112 enabled: false
113 apt-mk-extra-nightly:
114 source: "deb http://apt-mk.mirantis.com/xenial nightly extra"
115 key_url: http://apt-mk.mirantis.com/public.gpg
Filip Pytlouna1898572016-01-25 22:35:13 +0100116 architectures: amd64
Filip Pytlounc49445a2016-04-04 14:23:20 +0200117 locale:
118 en_US.UTF-8:
119 enabled: true
120 default: true
Filip Pytlounee1745f2016-04-04 17:39:41 +0200121 "cs_CZ.UTF-8 UTF-8":
Filip Pytlounc49445a2016-04-04 14:23:20 +0200122 enabled: true
Filip Pytlounc665ee22017-02-17 12:17:32 +0100123 autoupdates:
124 enabled: true
Petr Michalec1c4c8d82017-02-28 19:09:21 +0100125 sudo:
126 enabled: true
127 alias:
128 runas:
129 DBA:
130 - postgres
131 - mysql
132 SALT:
133 - root
134 host:
135 LOCAL:
136 - localhost
137 PRODUCTION:
138 - db1
139 - db2
140 command:
141 SUDO_RESTRICTED_SU:
142 - /bin/vi /etc/sudoers
143 - /bin/su - root
144 - /bin/su -
145 - /bin/su
146 - /usr/sbin/visudo
147 SUDO_SHELLS:
148 - /bin/sh
149 - /bin/ksh
150 - /bin/bash
151 - /bin/rbash
152 - /bin/dash
153 - /bin/zsh
154 - /bin/csh
155 - /bin/fish
156 - /bin/tcsh
157 - /usr/bin/login
158 - /usr/bin/su
159 - /usr/su
160 SUDO_SALT_SAFE:
161 - /usr/bin/salt state*
162 - /usr/bin/salt service*
163 - /usr/bin/salt pillar*
164 - /usr/bin/salt grains*
165 - /usr/bin/salt saltutil*
166 - /usr/bin/salt-call state*
167 - /usr/bin/salt-call service*
168 - /usr/bin/salt-call pillar*
169 - /usr/bin/salt-call grains*
170 - /usr/bin/salt-call saltutil*
171 SUDO_SALT_TRUSTED:
172 - /usr/bin/salt*
173 users:
174 saltuser1: {}
175 saltuser2:
176 hosts:
177 - LOCAL
178 # User Alias:
179 DBA:
180 hosts:
181 - ALL
182 commands:
183 - SUDO_SALT_SAFE
184 groups:
185 db-ops:
186 hosts:
187 - ALL
188 - '!PRODUCTION'
189 runas:
190 - DBA
191 commands:
192 - /bin/cat *
193 - /bin/less *
194 - /bin/ls *
195 - SUDO_SALT_SAFE
196 - '!SUDO_SHELLS'
197 - '!SUDO_RESTRICTED_SU'
198 salt-ops:
199 hosts:
200 - 'ALL'
201 runas:
202 - SALT
203 commands:
204 - SUDO_SALT_TRUSTED
205 salt-ops2:
206 name: salt-ops
207 runas:
208 - DBA
209 commands:
210 - SUDO_SHELLS
211 sudogroup1:
212 commands:
213 - ALL
214 sudogroup2:
215 commands:
216 - ALL
217 hosts:
218 - localhost
219 users:
220 - test
221 nopasswd: false
222 sudogroup3:
223 commands:
224 - ALL
Petr Michalec10462bb2017-03-23 19:18:08 +0100225 env:
226 BOB_VARIABLE: Alice
227 BOB_PATH:
228 - /srv/alice/bin
229 - /srv/bob/bin
230 HTTPS_PROXY: https://127.0.4.1:443
231 http_proxy: http://127.0.4.2:80
232 ftp_proxy: ftp://127.0.4.3:2121
233 no_proxy:
234 - 192.168.0.1
235 - 192.168.0.2
236 - .saltstack.com
237 - .ubuntu.com
238 - .mirantis.com
239 - .launchpad.net
240 - .dummy.net
241 - .local
242 LANG: C
243 LC_ALL: C
244 profile:
245 vi_flavors.sh: |
246 export PAGER=view
247 alias vi=vim
248 locales: |
249 export LANG=en_US
250 export LC_ALL=en_US.UTF-8
251
252 # pillar for proxy configuration
253 proxy:
254 # for package managers
255 pkg:
256 enabled: true
257 https: https://127.0.2.1:4443
258 #http: http://127.0.2.2
259 ftp: none
260 # fallback, system defaults
261 https: https://127.0.1.1:443
262 #http: http://127.0.1.2
263 ftp: ftp://127.0.1.3
264 noproxy:
265 - host1
266 - host2
267 - .local