Skip to content

Commit 348ed70

Browse files
DexterPOSHSean Wheeler
authored andcommitted
Fixes typo $WebSiteName in separatingEnvData.md (#1856)
- Adds the website name to common node property inside configuration data. - Also, it is now referenced (e.g. $Node.WebSiteName) in the DSC configuration document in MyWebApp.ps1.
1 parent 07b21b0 commit 348ed70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dsc/separatingEnvData.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ We'll define the development and production environment data in a file namd `Dev
104104
SQLServerName = "MySQLServer"
105105
SqlSource = "C:\Software\Sql"
106106
DotNetSrc = "C:\Software\sxs"
107+
WebSiteName = "New website"
107108
},
108109
109110
@{
@@ -218,7 +219,7 @@ Configuration MyWebApp
218219
{
219220
220221
Ensure = 'Present'
221-
Name = $WebSiteName
222+
Name = $Node.WebSiteName
222223
State = 'Started'
223224
PhysicalPath = $Node.SitePath
224225
DependsOn = '[File]WebContent'

0 commit comments

Comments
 (0)