-
Notifications
You must be signed in to change notification settings - Fork 159
Expand file tree
/
Copy pathReferenceConfigurationProd.yml
More file actions
134 lines (134 loc) · 3.56 KB
/
Copy pathReferenceConfigurationProd.yml
File metadata and controls
134 lines (134 loc) · 3.56 KB
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
WindowsFeatures:
Names:
- File-Services
- -Telnet-Client
Description: 'FileServer in '
DscDiagnostic: {}
Name: ReferenceConfigurationProd
DscLcmController:
MonitorInterval: 00:15:00
SendDscTaggingData: true
AutoCorrectInterval: 00:30:00
MaintenanceWindowMode: AutoCorrect
RefreshIntervalOverride: false
MaintenanceWindowOverride: false
ControllerInterval: 00:05:00
RefreshInterval: 00:30:00
MaxLcmRuntime: 00:30:00
LogHistoryTimeSpan: 7.00:00:00
WriteTranscripts: true
AutoCorrectIntervalOverride: false
PSDscAllowPlainTextPassword: true
PSDscAllowDomainUser: true
ComputerSettings:
Name: ReferenceConfigurationProd
Description: 'FileServer in '
TimeZone: Greenwich Standard Time
DomainName: contoso.com
JoinOU: CN=Computers,dc=contoso,dc=com
Credential: install@contoso:*********
DscLcmMaintenanceWindows:
MaintenanceWindows:
Name: Always
StartTime: 00:00:00
Timespan: 24:00:00
DependsOn: '[DscLcmController]DscLcmController'
Configurations:
- FilesAndFolders
- RegistryValues
- SecurityBase
- WindowsFeatures
- ComputerSettings
- NetworkIpConfiguration
- WindowsEventLogs
- DscLcmController
- DscLcmMaintenanceWindows
- DscTagging
- DscDiagnostic
SecurityBase:
DependsOn: '[WindowsFeatures]WindowsFeatures'
Role: Baseline
Baseline: Server
NetworkIpConfiguration:
Interfaces:
DnsServer: 192.168.111.10
Gateway: 127.0.0.3
DisableNetbios: true
Prefix: 24
InterfaceAlias: DscWorkshop 0
IpAddress: 127.0.0.3
DscTagging:
Environment: Prod
Version: 0.3.0
Layers:
- AllNodes\Prod\ReferenceConfigurationProd
- Environment\Prod
- Locations\Frankfurt
- Roles\FileServer
- Baselines\Security
- Baselines\Server
- Baselines\DscLcm
FilesAndFolders:
Items:
- DestinationPath: C:\Test\Prod-Environment
Type: Directory
- DestinationPath: C:\Test\Frankfurt
Type: Directory
- DestinationPath: C:\Test
Type: Directory
- Contents: Some test data
Type: File
DependsOn: '[File]file_C__Test'
DestinationPath: C:\Test\Test1File1.txt
- Contents: Some test data
Type: File
DependsOn: '[File]file_C__Test'
DestinationPath: C:\Test\Test1File2.txt
- DestinationPath: C:\GpoBackup
Type: Directory
SourcePath: '\\DSCDC01\SYSVOL\contoso.com\Policies'
NodeName: ReferenceConfigurationProd
Environment: Prod
Location: Frankfurt
RegistryValues:
DependsOn: '[FilesAndFolders]FilesAndFolders'
Values:
ValueName: NtpServer
ValueType: String
ValueData: pool.ntp.org,0x9
Ensure: Present
Force: true
Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters
LcmConfig:
ConfigurationRepositoryWeb:
Server:
ConfigurationNames: ReferenceConfigurationProd
RegistrationKey: ec717ee9-b343-49ee-98a2-26e53939eecf
ServerURL: https://dscpull01.contoso.com:8080/PSDSCPullServer.svc
ReportServerWeb:
RegistrationKey: ec717ee9-b343-49ee-98a2-26e53939eecf
ServerURL: https://dscpull01.contoso.com:8080/PSDSCPullServer.svc
Settings:
RefreshFrequencyMins: 30
AllowModuleOverwrite: true
ActionAfterReboot: ContinueConfiguration
RefreshMode: Pull
RebootNodeIfNeeded: true
ConfigurationMode: ApplyAndMonitor
ConfigurationModeFrequencyMins: 30
Role: FileServer
WindowsEventLogs:
Logs:
- LogMode: Circular
IsEnabled: true
LogName: System
MaximumSizeInBytes: 20971520
- LogMode: Circular
IsEnabled: true
LogName: Application
MaximumSizeInBytes: 20971520
- LogMode: Circular
IsEnabled: true
LogName: Security
MaximumSizeInBytes: 134217728
DependsOn: '[ComputerSettings]ComputerSettings'