Skip to content

Commit 3ee18f2

Browse files
authored
Merge pull request #16 from PlagueHO/Issue-15
Correct Configuration Names in Example files - Fixes #15
2 parents 9c379d6 + 0090e69 commit 3ee18f2

9 files changed

Lines changed: 11 additions & 9 deletions

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
to root folder of repository and remove test harness - Fixes [Issue #11](https://github.com/PlagueHO/FileContentDsc/issues/11).
1010
- Converted Examples to support format for publishing to PowerShell
1111
Gallery.
12-
- Refactor Test-TargetResource to return $false in all DSC resource -Fixes [Issue #12](https://github.com/PlagueHO/FileContentDsc/issues/13)
12+
- Refactor Test-TargetResource to return $false in all DSC resource - Fixes
13+
[Issue #12](https://github.com/PlagueHO/FileContentDsc/issues/13).
14+
- Correct configuration names in Examples - fixes [Issue #15](https://github.com/PowerShell/FileContentDsc/issues/15).
1315

1416
## 1.0.0.0
1517

Examples/Resources/IniSettingsFile/1-IniSettingsFile_SetPlainTextEntry_Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Set the `Level` entry in the [Logging] section to `Information`
2323
in the file `c:\myapp\myapp.ini`.
2424
#>
25-
Configuration Example
25+
Configuration IniSettingsFile_SetPlainTextEntry_Config
2626
{
2727
Import-DSCResource -ModuleName FileContentDsc
2828

Examples/Resources/IniSettingsFile/2-IniSettingsFile_SetSecretTextEntry_Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Set the `ConnectionString` entry in the [Database] section to the password
2323
provided in the $Secret credential object in the file `c:\myapp\myapp.ini`.
2424
#>
25-
Configuration Example
25+
Configuration IniSettingsFile_SetSecretTextEntry_Config
2626
{
2727
param
2828
(

Examples/Resources/KeyValuePairFile/1-KeyValuePairFile_RemovePlainTextPair_Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
.DESCRIPTION
2222
Remove all `Core.Logging` keys in the file `c:\myapp\myapp.conf`.
2323
#>
24-
Configuration Example
24+
Configuration KeyValuePairFile_RemovePlainTextPair_Config
2525
{
2626
Import-DSCResource -ModuleName FileContentDsc
2727

Examples/Resources/KeyValuePairFile/2-KeyValuePairFile_SetPlainTextPair_Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Set all `Core.Logging` keys to `Information` or add it
2323
if it is missing in the file `c:\myapp\myapp.conf`.
2424
#>
25-
Configuration Example
25+
Configuration KeyValuePairFile_SetPlainTextPair_Config
2626
{
2727
Import-DSCResource -ModuleName FileContentDsc
2828

Examples/Resources/KeyValuePairFile/3-KeyValuePairFile_SetSecretTextPair_Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Set all `Core.Password` keys to the password provided in the $Secret
2323
credential object or add it if it is missing in the file `c:\myapp\myapp.conf`.
2424
#>
25-
Configuration Example
25+
Configuration KeyValuePairFile_SetSecretTextPair_Config
2626
{
2727
param
2828
(

Examples/Resources/ReplaceText/1-ReplaceText_ReplacePlainSecretText_Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
the password set in the parameter $Secret PSCredential object
2424
in the file `c:\inetpub\wwwroot\default.htm`.
2525
#>
26-
Configuration Example
26+
Configuration ReplaceText_ReplacePlainSecretText_Config
2727
{
2828
param
2929
(

Examples/Resources/ReplaceText/2-ReplaceText_ReplacePlainText_Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Set all occrurances of the string `%appname%` to be Awesome App`
2323
in the file `c:\inetpub\wwwroot\default.htm`.
2424
#>
25-
Configuration Example
25+
Configuration ReplaceText_ReplacePlainText_Config
2626
{
2727
Import-DSCResource -ModuleName FileContentDsc
2828

Examples/Resources/ReplaceText/3-ReplaceText_ReplaceRegexText_Config.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
`<img src=['``"][a-zA-Z0-9.]*['``"]>` with the text `<img src="imgs/placeholder.jpg">`
2424
in the file `c:\inetpub\wwwroot\default.htm`
2525
#>
26-
Configuration Example
26+
Configuration ReplaceText_ReplaceRegexText_Config
2727
{
2828
Import-DSCResource -ModuleName FileContentDsc
2929

0 commit comments

Comments
 (0)