Skip to content

Commit

Permalink
Updated 'NetworkIpConfiguration\Interfaces' configuration data (#174)
Browse files Browse the repository at this point in the history
* Updated 'NetworkIpConfiguration\Interfaces' configuration data

* Update azure-pipelines.yml to install GitVersion.Tool version 5.*

* Update azure-pipelines.yml to install GitVersion.Tool version 5.*
  • Loading branch information
raandree authored Oct 17, 2024
1 parent 01a3c96 commit 0c821bf
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 54 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed from 'CommonTasks' to 'DscConfig.Demo' for faster build time.
- Added support for PowerShell 7.
- Added support for Azure Guest Configuration.
- Updated 'NetworkIpConfiguration\Interfaces' configuration data.

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ stages:
displayName: 'Display Environment Variables'
- pwsh: |
dotnet tool install --global GitVersion.Tool
dotnet tool install --global GitVersion.Tool --version 5.*
$gitVersionObject = dotnet-gitversion | ConvertFrom-Json
$gitVersionObject.PSObject.Properties.ForEach{
Write-Host -Object "Setting Task Variable '$($_.Name)' with value '$($_.Value)'."
Expand Down Expand Up @@ -108,7 +108,7 @@ stages:
displayName: 'Display Environment Variables'
- pwsh: |
dotnet tool install --global GitVersion.Tool
dotnet tool install --global GitVersion.Tool --version 5.*
$gitVersionObject = dotnet-gitversion | ConvertFrom-Json
$gitVersionObject.PSObject.Properties.ForEach{
Write-Host -Object "Setting Task Variable '$($_.Name)' with value '$($_.Value)'."
Expand Down
5 changes: 0 additions & 5 deletions source/AllNodes/Dev/DSCFile01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 192.168.111.100
Prefix: 24
Gateway: 192.168.111.50
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
5 changes: 0 additions & 5 deletions source/AllNodes/Dev/DSCWeb01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 192.168.111.101
Prefix: 24
Gateway: 192.168.111.50
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
4 changes: 0 additions & 4 deletions source/AllNodes/Dev/ReferenceConfigurationDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 127.0.0.1
Prefix: 24
Gateway: 127.0.0.1
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
5 changes: 0 additions & 5 deletions source/AllNodes/Prod/DSCFile03.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 192.168.111.120
Prefix: 24
Gateway: 192.168.111.50
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
5 changes: 0 additions & 5 deletions source/AllNodes/Prod/DSCWeb03.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 192.168.111.121
Prefix: 24
Gateway: 192.168.111.50
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
4 changes: 0 additions & 4 deletions source/AllNodes/Prod/ReferenceConfigurationProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 127.0.0.3
Prefix: 24
Gateway: 127.0.0.3
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
5 changes: 0 additions & 5 deletions source/AllNodes/Test/DSCFile02.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 192.168.111.110
Prefix: 24
Gateway: 192.168.111.50
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
5 changes: 0 additions & 5 deletions source/AllNodes/Test/DSCWeb02.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 192.168.111.111
Prefix: 24
Gateway: 192.168.111.50
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
4 changes: 0 additions & 4 deletions source/AllNodes/Test/ReferenceConfigurationTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0
IpAddress: 127.0.0.2
Prefix: 24
Gateway: 127.0.0.2
DnsServer:
- 192.168.111.10
DisableNetbios: true

PSDscAllowPlainTextPassword: True
PSDscAllowDomainUser: True
Expand Down
4 changes: 2 additions & 2 deletions source/Baselines/Server.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Configurations:
- ComputerSettings
#- NetworkIpConfiguration
- NetworkIpConfiguration
- WindowsEventLogs

NetworkIpConfiguration:
Interfaces:
- InterfaceAlias: DscWorkshop 0*
- InterfaceAlias: DscWorkshop 0
Prefix: 24
Gateway: 192.168.111.50
DnsServer:
Expand Down
16 changes: 8 additions & 8 deletions source/Datum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ lookup_options:
tuple_keys:
- Key

#NetworkIpConfiguration:
# merge_hash: deep
#NetworkIpConfiguration\Interfaces:
# #merge_basetype_array: Deep
# merge_hash_array: DeepTuple
# merge_options:
# tuple_keys:
# - InterfaceAlias
NetworkIpConfiguration:
merge_hash: deep
NetworkIpConfiguration\Interfaces:
#merge_basetype_array: Deep
merge_hash_array: DeepTuple
merge_options:
tuple_keys:
- InterfaceAlias

ComputerSettings:
merge_hash: deep
Expand Down

0 comments on commit 0c821bf

Please sign in to comment.