generated from saltstack-formulas/template-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.example
400 lines (400 loc) · 11.6 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
windows:
states:
enabled: true
system:
computer_desc:
id: description
enabled: true
name: "Saltstack Computer Description"
require:
- windows.state.system.hostname.saltstack1
hostname:
name: "saltstack1"
timezone:
system:
name: America/New_York
utc: false
wua:
# settings:
# enabled: true
# level: 4
# recommended: true
# featured: false
# elevated: true
# msupdate: true
# day: Everyday
# time: "01:00"
uptodate:
enabled: false
software: true
drivers: true
skip_hidden: false
skip_mandatory: false
skip_reboot: false
categories:
- Critical Updates
- Definition Updates
- Drivers
- Feature Packs
- Security Updates
- Update Rollups
- Updates
- Update Rollups
- Windows Defender
severities:
- Critical
- Important
modules:
enabled: true
environ:
items:
enabled: true
system:
reboot:
enabled: true
timeout: 5
in_seconds: true
only_on_pending_reboot: true
wait_for_reboot: false
onlyif: powershell -command "if ($env:CI -imatch 'True') {throw 'Is CI environment'} else {exit 0}"
order: last
user:
enabled: true
current:
enabled: true
sam: true
status:
uptime:
enabled: true
human_readable: true
require:
- windows.module.user.current
system:
enabled: true
reboot:
enabled: false
timeout_in_seconds: 10
only_on_pending_reboot: true
dsc:
enabled: false
client:
root: c:\\DSC\\
manifest:
source: c:\\srv\\salt\\os_windows\\files\\dsc\\manifests\\
configuration: Win10DSC
user:
enabled: false
disable:
Administrator:
disable: false
Guest:
disable: true
packages:
enabled: true
always_install_latest_version: false
always_upgrade_to_latest_version: false
providers:
enabled: false
installed:
NuGet:
powershell:
modules:
enabled: true
installed:
PSDscResources:
cChoco:
chocolatey:
enabled: true
installed:
notepadplusplus:
windirstat:
version: '1.1.2.20161210'
saltstack:
enabled: true
installed:
git:
refresh_minion_env_path: true
7zip:
version: '18.06.00.0'
refresh_minion_env_path: false
kdiff3:
appx:
enabled: true
provisioned:
uninstalled:
# Microsoft.3DBuilder:
# Microsoft.BingWeather:
# Microsoft.DesktopAppInstaller:
# Microsoft.Getstarted:
# Microsoft.Messaging:
# Microsoft.Microsoft3DViewer:
# Microsoft.MicrosoftOfficeHub:
Microsoft.MicrosoftSolitaireCollection:
# Microsoft.MicrosoftStickyNotes:
# Microsoft.MSPaint:
# Microsoft.Office.OneNote:
# Microsoft.OneConnect:
# Microsoft.People:
# Microsoft.SkypeApp:
# Microsoft.StorePurchaseApp:
Microsoft.Wallet:
# Microsoft.Windows.Photos:
# Microsoft.WindowsAlarms:
# Microsoft.WindowsCalculator:
# Microsoft.WindowsCamera:
# microsoft.windowscommunicationsapps:
# Microsoft.WindowsFeedbackHub:
# Microsoft.WindowsMaps:
# Microsoft.WindowsSoundRecorder:
# Microsoft.WindowsStore:
# Microsoft.XboxApp:
# Microsoft.XboxGameOverlay:
# Microsoft.XboxIdentityProvider:
# Microsoft.XboxSpeechToTextOverlay:
Microsoft.ZuneMusic:
Microsoft.ZuneVideo:
# Microsoft.GetHelp:
# Microsoft.Print3D:
# Microsoft.Xbox.TCUI:
# Microsoft.WebMediaExtensions:
# Microsoft.XboxGamingOverlay:
# Microsoft.HEIFImageExtension:
Microsoft.MixedReality.Portal:
# Microsoft.ScreenSketch:
# Microsoft.VP9VideoExtensions:
# Microsoft.WebpImageExtension:
# Microsoft.YourPhone:
server:
enabled: true
features:
enabled: true
installed:
telnet-client:
desktop:
enabled: true
optional_features:
enabled: true
installed:
# Client-DeviceLockdown:
# Client-EmbeddedBootExp:
# Client-EmbeddedLogon:
# Client-EmbeddedShellLauncher:
# ClientForNFS-Infrastructure:
# Client-KeyboardFilter:
# Client-ProjFS:
# Client-UnifiedWriteFilter:
# Containers:
# Containers-DisposableClientVM:
# DataCenterBridging:
# DirectoryServices-ADAM-Client:
# DirectPlay:
# FaxServicesClientPackage:
# HostGuardian:
# HypervisorPlatform:
# IIS-ApplicationDevelopment:
# IIS-ApplicationInit:
# IIS-ASP:
# IIS-ASPNET:
# IIS-ASPNET45:
# IIS-BasicAuthentication:
# IIS-CertProvider:
# IIS-CGI:
# IIS-ClientCertificateMappingAuthentication:
# IIS-CommonHttpFeatures:
# IIS-CustomLogging:
# IIS-DefaultDocument:
# IIS-DigestAuthentication:
# IIS-DirectoryBrowsing:
# IIS-FTPExtensibility:
# IIS-FTPServer:
# IIS-FTPSvc:
# IIS-HealthAndDiagnostics:
# IIS-HostableWebCore:
# IIS-HttpCompressionDynamic:
# IIS-HttpCompressionStatic:
# IIS-HttpErrors:
# IIS-HttpLogging:
# IIS-HttpRedirect:
# IIS-HttpTracing:
# IIS-IIS6ManagementCompatibility:
# IIS-IISCertificateMappingAuthentication:
# IIS-IPSecurity:
# IIS-ISAPIExtensions:
# IIS-ISAPIFilter:
# IIS-LegacyScripts:
# IIS-LegacySnapIn:
# IIS-LoggingLibraries:
# IIS-ManagementConsole:
# IIS-ManagementScriptingTools:
# IIS-ManagementService:
# IIS-Metabase:
# IIS-NetFxExtensibility:
# IIS-NetFxExtensibility45:
# IIS-ODBCLogging:
# IIS-Performance:
# IIS-RequestFiltering:
# IIS-RequestMonitor:
# IIS-Security:
# IIS-ServerSideIncludes:
# IIS-StaticContent:
# IIS-URLAuthorization:
# IIS-WebDAV:
# IIS-WebServer:
# IIS-WebServerManagementTools:
# IIS-WebServerRole:
# IIS-WebSockets:
# IIS-WindowsAuthentication:
# IIS-WMICompatibility:
# Internet-Explorer-Optional-amd64:
# LegacyComponents:
# MediaPlayback:
# Microsoft-Hyper-V:
# Microsoft-Hyper-V-All:
# Microsoft-Hyper-V-Hypervisor:
# Microsoft-Hyper-V-Management-Clients:
# Microsoft-Hyper-V-Management-PowerShell:
# Microsoft-Hyper-V-Services:
# Microsoft-Hyper-V-Tools-All:
# Microsoft-Windows-Client-EmbeddedExp-Package:
# Microsoft-Windows-NetFx3-OC-Package:
# Microsoft-Windows-NetFx3-WCF-OC-Package:
# Microsoft-Windows-NetFx4-US-OC-Package:
# Microsoft-Windows-NetFx4-WCF-US-OC-Package:
# MicrosoftWindowsPowerShellV2:
# MicrosoftWindowsPowerShellV2Root:
# Microsoft-Windows-Subsystem-Linux:
# MSMQ-ADIntegration:
# MSMQ-Container:
# MSMQ-DCOMProxy:
# MSMQ-HTTP:
# MSMQ-Multicast:
# MSMQ-Server:
# MSMQ-Triggers:
# MSRDC-Infrastructure:
# MultiPoint-Connector:
# MultiPoint-Connector-Services:
# MultiPoint-Tools:
# NetFx3:
# NetFx4-AdvSrvs:
# NetFx4Extended-ASPNET45:
# NFS-Administration:
# Printing-Foundation-Features:
# Printing-Foundation-InternetPrinting-Client:
# Printing-Foundation-LPDPrintService:
# Printing-Foundation-LPRPortMonitor:
# Printing-PrintToPDFServices-Features:
# Printing-XPSServices-Features:
# SearchEngine-Client-Package:
# ServicesForNFS-ClientOnly:
# SimpleTCP:
# SMB1Protocol:
# SMB1Protocol-Client:
# SMB1Protocol-Deprecation:
# SMB1Protocol-Server:
# SmbDirect:
TelnetClient:
# TFTP:
# TIFFIFilter:
# VirtualMachinePlatform:
# WAS-ConfigurationAPI:
# WAS-NetFxEnvironment:
# WAS-ProcessModel:
# WAS-WindowsActivationService:
# WCF-HTTP-Activation:
# WCF-HTTP-Activation45:
# WCF-MSMQ-Activation45:
# WCF-NonHTTP-Activation:
# WCF-Pipe-Activation45:
# WCF-Services45:
# WCF-TCP-Activation45:
# WCF-TCP-PortSharing45:
# Windows-Defender-ApplicationGuard:
# Windows-Defender-Default-Definitions:
# Windows-Identity-Foundation:
# WindowsMediaPlayer:
# WorkFolders-Client:
packages:
enabled: true
system_old:
enabled: true
timezone: America/New_York
computer:
enabled: true
hostname: "saltstack1"
description: "Saltstack Computer Description"
wua:
enabled: true
settings:
enabled: true
level: 4
recommended: true
featured: false
elevated: true
msupdate: true
day: Everyday
time: "01:00"
uptodate:
enabled: true
only_initial_build: true
software: true
drivers: true
skip_hidden: false
skip_mandatory: false
skip_reboot: false
categories:
- Critical Updates
- Definition Updates
- Drivers
- Feature Packs
- Security Updates
- Update Rollups
- Updates
- Update Rollups
- Windows Defender
severities:
- Critical
- Important
user:
enabled: false
create:
saltuser1:
enabled: true
password: P@55w0rd!
fullname: User1 SaltStack
description: SaltStack User1
home: \\fileserver\home\foo
homedrive: "c:"
profile: \\fileserver\profiles\foo
logonscript: logonscript.ps1
groups:
- Power Users
- saltstack_users
# update
expiration_date: None
expired: None
account_disabled: false
unlock_account: true
password_never_expires: false
disallow_change_password: false
saltadmin1:
enabled: false
password: P@55w0rd!
fullname: Admin1 SaltStack
description: SaltStack Admin1
home: \\fileserver\home\foo
homedrive: "c:"
profile: \\fileserver\profiles\foo
logonscript: logonscript.ps1
groups:
- Administrators
- saltstack_administrators
# update
expiration_date: None
expired: None
account_disabled: false
unlock_account: true
password_never_expires: false
disallow_change_password: false