Skip to content

Commit

Permalink
[dsccommunity#1331] A fix for meta tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
bozho committed Apr 25, 2019
1 parent 971009b commit a094360
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
- Changes to SqlServerPermission
- Added en-US localization ([issue #619](https://github.com/PowerShell/SqlServerDsc/issues/619)).
- Changes to SqlRS
- Reporting Services are restarted after changing settings, unless `$SuppressRestart` parameter is set ([issue #1331](https://github.com/PowerShell/SqlServerDsc/issues/1331)). `$SuppressRestart` will also prevent Reporting Services restart after initialization.
- Reporting Services are restarted after changing settings, unless
`$SuppressRestart` parameter is set ([issue #1331](https://github.com/PowerShell/SqlServerDsc/issues/1331)).
`$SuppressRestart` will also prevent Reporting Services restart after initialization.

## 12.4.0.0

Expand Down
11 changes: 10 additions & 1 deletion DSCResources/MSFT_SqlRS/MSFT_SqlRS.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,11 @@ function Set-TargetResource
If connections to the Reporting Services must use SSL. If this
parameter is not assigned a value, the default is that Reporting
Services does not use SSL.
.PARAMETER SuppressRestart
Reporting Services need to be restarted after initialization or
settings change. If this parameter is set to $true, Reporting Services
will not be restarted, even after initialisation.
#>
function Test-TargetResource
{
Expand Down Expand Up @@ -768,7 +773,11 @@ function Test-TargetResource

[Parameter()]
[System.Boolean]
$UseSsl
$UseSsl,

[Parameter()]
[System.Boolean]
$SuppressRestart
)

$result = $true
Expand Down

0 comments on commit a094360

Please sign in to comment.