Skip to content

Commit

Permalink
Fixes typo $WebSiteName in separatingEnvData.md (#1856)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
DexterPOSH authored and Sean Wheeler committed Nov 14, 2017
1 parent 07b21b0 commit 348ed70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dsc/separatingEnvData.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ We'll define the development and production environment data in a file namd `Dev
SQLServerName = "MySQLServer"
SqlSource = "C:\Software\Sql"
DotNetSrc = "C:\Software\sxs"
WebSiteName = "New website"
},
@{
Expand Down Expand Up @@ -218,7 +219,7 @@ Configuration MyWebApp
{
Ensure = 'Present'
Name = $WebSiteName
Name = $Node.WebSiteName
State = 'Started'
PhysicalPath = $Node.SitePath
DependsOn = '[File]WebContent'
Expand Down

0 comments on commit 348ed70

Please sign in to comment.