Skip to content

Commit 66914be

Browse files
authored
Merge pull request #151 from PlagueHO/Issue-119
BREAKING CHANGE: Renamed ComputerManagement to ComputerManagementDsc - Fixes #119
2 parents 4dc1938 + e44a142 commit 66914be

63 files changed

Lines changed: 284 additions & 284 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/RunAllTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ if ( (-not (Test-Path -Path (Join-Path -Path $repoRoot -ChildPath 'DSCResource.T
77

88
Import-Module (Join-Path $PSScriptRoot "..\Tests\TestHarness.psm1" -Resolve)
99
$dscTestsPath = Join-Path -Path $PSScriptRoot `
10-
-ChildPath "..\Modules\xComputerManagement\DscResource.Tests\Meta.Tests.ps1"
10+
-ChildPath "..\Modules\ComputerManagementDsc\DscResource.Tests\Meta.Tests.ps1"
1111
Invoke-TestHarness -DscTestsPath $dscTestsPath

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
## Unreleased
44

5+
- BREAKING CHANGE:
6+
- Renamed ComputerManagement to ComputerManagementDsc - fixes [Issue #119](https://github.com/PowerShell/ComputerManagementDsc/issues/119).
7+
- Changed all MSFT\_xResourceName to MSFT\_ResourceName.
8+
- Updated DSCResources, Examples, Modules and Tests with new naming.
9+
- Updated Year to 2018 in License and Manifest.
10+
- Updated README.md from xComputerManagement to ComputerManagementDsc.
11+
- OfflineDomainJoin:
12+
- Cleaned up spacing in strings file to make consistent with other
13+
resources.
14+
- VirtualMemory:
15+
- Converted strings to single quotes in integration test.
16+
517
## 4.1.0.0
618

719
- xScheduledTask:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2017 Microsoft Corporation.
3+
Copyright (c) 2018 Microsoft Corporation.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Modules/xComputerManagement/xComputerManagement.psd1 renamed to Modules/ComputerManagementDsc/ComputerManagementDsc.psd1

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Author = 'Microsoft Corporation'
1212
CompanyName = 'Microsoft Corporation'
1313

1414
# Copyright statement for this module
15-
Copyright = '(c) 2017 Microsoft Corporation. All rights reserved.'
15+
Copyright = '(c) 2018 Microsoft Corporation. All rights reserved.'
1616

1717
# Description of the functionality provided by this module
18-
Description = 'The xComputerManagement module is originally part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit. This version has been modified for use in Azure. This module contains the xComputer and xDisk resources. These DSC Resources allow you to perform computer management tasks, like joining a domain or initializing disks.
18+
Description = 'The ComputerManagementDsc module is originally part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit. This version has been modified for use in Azure. This module contains the xComputer and xDisk resources. These DSC Resources allow you to perform computer management tasks, like joining a domain or initializing disks.
1919
2020
All of the resources in the DSC Resource Kit are provided AS IS, and are not supported through any Microsoft standard support program or service.'
2121

@@ -40,10 +40,10 @@ PrivateData = @{
4040
Tags = @('DesiredStateConfiguration', 'DSC', 'DSCResourceKit', 'DSCResource')
4141

4242
# A URL to the license for this module.
43-
LicenseUri = 'https://github.com/PowerShell/xComputerManagement/blob/master/LICENSE'
43+
LicenseUri = 'https://github.com/PowerShell/ComputerManagementDsc/blob/master/LICENSE'
4444

4545
# A URL to the main website for this project.
46-
ProjectUri = 'https://github.com/PowerShell/xComputerManagement'
46+
ProjectUri = 'https://github.com/PowerShell/ComputerManagementDsc'
4747

4848
# A URL to an icon representing this module.
4949
# IconUri = ''
@@ -65,14 +65,3 @@ PrivateData = @{
6565

6666
} # End of PrivateData hashtable
6767
}
68-
69-
70-
71-
72-
73-
74-
75-
76-
77-
78-

Modules/xComputerManagement/DSCResources/MSFT_xComputer/MSFT_xComputer.psm1 renamed to Modules/ComputerManagementDsc/DSCResources/MSFT_Computer/MSFT_Computer.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Import-Module -Name (Join-Path -Path $modulePath `
1717

1818
# Import Localization Strings
1919
$script:localizedData = Get-LocalizedData `
20-
-ResourceName 'MSFT_xComputer' `
20+
-ResourceName 'MSFT_Computer' `
2121
-ResourcePath (Split-Path -Parent $Script:MyInvocation.MyCommand.Path)
2222

2323
<#

Modules/xComputerManagement/DSCResources/MSFT_xComputer/MSFT_xComputer.schema.mof renamed to Modules/ComputerManagementDsc/DSCResources/MSFT_Computer/MSFT_Computer.schema.mof

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[ClassVersion("1.0.1.0"), FriendlyName("xComputer")]
2-
class MSFT_xComputer : OMI_BaseResource
1+
[ClassVersion("1.0.1.0"), FriendlyName("Computer")]
2+
class MSFT_Computer : OMI_BaseResource
33
{
44
[Key, Description("The desired computer name.")] String Name;
55
[Write, Description("The name of the domain to join.")] String DomainName;

Modules/xComputerManagement/DSCResources/MSFT_xComputer/README.md renamed to Modules/ComputerManagementDsc/DSCResources/MSFT_Computer/README.md

File renamed without changes.

Modules/xComputerManagement/DSCResources/MSFT_xComputer/en-US/MSFT_xComputer.strings.psd1 renamed to Modules/ComputerManagementDsc/DSCResources/MSFT_Computer/en-US/MSFT_Computer.strings.psd1

File renamed without changes.

Modules/xComputerManagement/DSCResources/MSFT_xOfflineDomainJoin/MSFT_xOfflineDomainJoin.psm1 renamed to Modules/ComputerManagementDsc/DSCResources/MSFT_OfflineDomainJoin/MSFT_OfflineDomainJoin.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Import-Module -Name (Join-Path -Path $modulePath `
1717

1818
# Import Localization Strings
1919
$script:localizedData = Get-LocalizedData `
20-
-ResourceName 'MSFT_xOfflineDomainJoin' `
20+
-ResourceName 'MSFT_OfflineDomainJoin' `
2121
-ResourcePath (Split-Path -Parent $Script:MyInvocation.MyCommand.Path)
2222

2323
<#

Modules/xComputerManagement/DSCResources/MSFT_xOfflineDomainJoin/MSFT_xOfflineDomainJoin.schema.mof renamed to Modules/ComputerManagementDsc/DSCResources/MSFT_OfflineDomainJoin/MSFT_OfflineDomainJoin.schema.mof

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[ClassVersion("1.0.0.0"), FriendlyName("xOfflineDomainJoin")]
2-
class MSFT_xOfflineDomainJoin : OMI_BaseResource
1+
[ClassVersion("1.0.0.0"), FriendlyName("OfflineDomainJoin")]
2+
class MSFT_OfflineDomainJoin : OMI_BaseResource
33
{
44
[Key, Description("Specifies the resource is a single instance, the value must be 'Yes'."), ValueMap{"Yes"}, Values{"Yes"}] String IsSingleInstance;
55
[Required, Description("The full path to the Offline Domain Join Request file to use.")] String RequestFile;

0 commit comments

Comments
 (0)