Skip to content

Commit cf29b03

Browse files
committed
Fix examples and integ test
1 parent 12a9a71 commit cf29b03

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

source/Examples/Resources/SqlRSSetup/1-InstallReportingServices.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Configuration Example
2121
SqlRSSetup 'InstallDefaultInstance'
2222
{
2323
InstanceName = 'SSRS'
24-
IAcceptLicenseTerms = 'Yes'
24+
AcceptLicenseTerms = $true
2525
SourcePath = 'C:\InstallMedia\SQLServerReportingServices.exe'
2626
Edition = 'Development'
2727

source/Examples/Resources/SqlRSSetup/2-UninstallReportingServices.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Configuration Example
2525
Action = 'Uninstall'
2626

2727
# This needs to be set to although it is not used during uninstall.
28-
IAcceptLicenseTerms = 'Yes'
28+
AcceptLicenseTerms = $true
2929

3030
PsDscRunAsCredential = $SqlInstallCredential
3131
}

tests/Integration/Resources/DSC_SqlRSSetup.config.ps1

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ else
1616
$ConfigurationData = @{
1717
AllNodes = @(
1818
@{
19-
NodeName = 'localhost'
20-
InstanceName = 'SSRS'
21-
Action = 'Install'
22-
IAcceptLicenseTerms = $true
23-
MediaPath = Join-Path -Path $env:TEMP -ChildPath 'SQLServerReportingServices.exe'
24-
Edition = 'Development'
25-
InstallFolder = 'C:\Program Files\SSRS'
26-
LogPath = Join-Path -Path $env:TEMP -ChildPath 'SSRS_Install.log'
19+
NodeName = 'localhost'
20+
InstanceName = 'SSRS'
21+
Action = 'Install'
22+
AcceptLicenseTerms = $true
23+
MediaPath = Join-Path -Path $env:TEMP -ChildPath 'SQLServerReportingServices.exe'
24+
Edition = 'Development'
25+
InstallFolder = 'C:\Program Files\SSRS'
26+
LogPath = Join-Path -Path $env:TEMP -ChildPath 'SSRS_Install.log'
2727

28-
UserName = "$env:COMPUTERNAME\SqlInstall"
29-
Password = 'P@ssw0rd1'
28+
UserName = "$env:COMPUTERNAME\SqlInstall"
29+
Password = 'P@ssw0rd1'
3030

31-
CertificateFile = $env:DscPublicCertificatePath
31+
CertificateFile = $env:DscPublicCertificatePath
3232
}
3333
)
3434
}
@@ -55,19 +55,19 @@ Configuration DSC_SqlRSSetup_InstallReportingServicesAsUser_Config
5555
{
5656
SqlRSSetup 'Integration_Test'
5757
{
58-
InstanceName = $Node.InstanceName
59-
Action = $Node.Action
60-
IAcceptLicenseTerms = $Node.IAcceptLicenseTerms
61-
MediaPath = $Node.MediaPath
62-
Edition = $Node.Edition
63-
InstallFolder = $Node.InstallFolder
64-
LogPath = $Node.LogPath
58+
InstanceName = $Node.InstanceName
59+
Action = $Node.Action
60+
AcceptLicenseTerms = $Node.AcceptLicenseTerms
61+
MediaPath = $Node.MediaPath
62+
Edition = $Node.Edition
63+
InstallFolder = $Node.InstallFolder
64+
LogPath = $Node.LogPath
6565

6666
# The build worker contains already an instance, make sure to upgrade it.
67-
VersionUpgrade = $true
67+
VersionUpgrade = $true
6868

6969
# Suppressing restart because the build worker are not allowed to be restarted.
70-
SuppressRestart = $true
70+
SuppressRestart = $true
7171

7272
PsDscRunAsCredential = New-Object `
7373
-TypeName System.Management.Automation.PSCredential `

0 commit comments

Comments
 (0)