Skip to content

Commit ffab40b

Browse files
committed
Add refactored class-based resource
1 parent 7d5a243 commit ffab40b

File tree

6 files changed

+699
-3
lines changed

6 files changed

+699
-3
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
- SqlServerDsc.Common
1111
- Removed the function `Get-RegistryPropertyValue` and `Format-Path` in
1212
favor of the commands with the same names in the module _DscResource.Common_.
13+
- SqlRSSetup
14+
- The DSC resource has been refactored into a class-based resource
15+
- The parameter `SourcePath` was removed and replaced with `MediaPath`
16+
- The parameter `IAcceptLicenseTerms` was removed and replaced with a
17+
boolean parameter `AcceptLicenseTerms`
18+
- The parameter `SourceCredential` was removed. Because of this the
19+
functionality that allowed copying the media from a UNC path using
20+
those credentials was also removed. If this was something you used,
21+
please open an issue.
22+
- The version validation no longer gets the current version from the
23+
installed package (using `Get-Package`), but instead from the registry.
24+
- The read-only property `CurrentVersion` was removed and replaced with
25+
the more appropriate property `ProductVersion`.
26+
- Prior when install was successful the resource checked whether there
27+
were any pending rename operations. Since the install returns 3010
28+
if a restart is needed it is now assumed that the setup process takes
29+
care of this. If that is not the case, and this check is needed, then
30+
open an issue to discuss in what cases this is needed.
1331

1432
### Added
1533

@@ -32,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3250
- `Uninstall-SqlDscBIReportServer` to uninstall SQL Server BI Report Server
3351
([issue #2065](https://github.com/dsccommunity/SqlServerDsc/issues/2065)).
3452
- Private function:
53+
- `Get-FileProductVersion` to get the product version from a file.
3554
- `Invoke-ReportServerSetupAction` to run setup actions for Reporting
3655
Services and Power BI Report Server.
3756
- Added new instructions for GitHub Copilot that might assist when developing
@@ -62,6 +81,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6281
- SqlSetup
6382
- Fixed issue with AddNode where cluster IP information was not being passed to
6483
setup.exe ([issue #1171](https://github.com/dsccommunity/SqlServerDsc/issues/1171)).
84+
- SqlRSSetup
85+
- The DSC resource has been refactored to class-based resource.
86+
6587

6688
### Fixed
6789

0 commit comments

Comments
 (0)