From a3540cb525f845ca43ba9b21f62d9ce166c4677a Mon Sep 17 00:00:00 2001 From: Matthew Bobke Date: Wed, 2 Oct 2019 11:31:47 -0700 Subject: [PATCH] xWebConfigKeyValue: Updated schema.mof to include description for Ensure (#505) - Changes to xWebConfigKeyValue - Updated schema.mof to include a description for the Ensure property (issue #455]). --- CHANGELOG.md | 5 ++++- .../MSFT_xWebConfigKeyValue.schema.mof | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7e85c8ed..f161fe7a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,7 +24,10 @@ single comma-separated string of flags ([issue #332](https://github.com/PowerShell/xWebAdministration/issues/332)). - Changes to xSslSettings - Updated casing of `xSslSettings` in all file names, folder names, schema, and documentation - + ([issue #461](https://github.com/PowerShell/xWebAdministration/issues/461)). +- Changes to xWebConfigKeyValue + - Updated schema.mof to include a description for the Ensure property ([issue #455](https://github.com/PowerShell/xWebAdministration/issues/455)). + ## 2.8.0.0 - Fix multiple HTTPS bindings on one xWebsite receiving the first binding's certificate [#332](https://github.com/PowerShell/xWebAdministration/issues/332) diff --git a/DSCResources/MSFT_xWebConfigKeyValue/MSFT_xWebConfigKeyValue.schema.mof b/DSCResources/MSFT_xWebConfigKeyValue/MSFT_xWebConfigKeyValue.schema.mof index 1b504152e..e0c9c47f8 100644 --- a/DSCResources/MSFT_xWebConfigKeyValue/MSFT_xWebConfigKeyValue.schema.mof +++ b/DSCResources/MSFT_xWebConfigKeyValue/MSFT_xWebConfigKeyValue.schema.mof @@ -3,8 +3,8 @@ class MSFT_xWebConfigKeyValue : OMI_BaseResource { [Key, Description("Path to website location(IIS or WebAdministration format)")] String WebsitePath; [Key, Description("Config Section to be update"), ValueMap{"AppSettings"}, Values{"AppSettings"}] String ConfigSection; - [Key, Description("Key for AppSettings")] String Key; - [Write, ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; + [Key, Description("Key for AppSettings")] String Key; + [Write, Description("Indicates if the property and value should be present or absent. Defaults to Present."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure; [Write, Description("Value for AppSettings")] String Value; [Write, Description("If the given key value pair is for attribute, default is element")] Boolean IsAttribute; };