Skip to content

Commit

Permalink
xWebAdministration: Line endings has been fixed (#399)
Browse files Browse the repository at this point in the history
- Line endings was fixed in files that was committed with wrong line ending.
  • Loading branch information
johlju committed Sep 27, 2018
1 parent 19c5244 commit 74ea38b
Show file tree
Hide file tree
Showing 7 changed files with 314 additions and 313 deletions.
42 changes: 21 additions & 21 deletions DSCResources/MSFT_xIisLogging/MSFT_xIisLogging.schema.mof
@@ -1,21 +1,21 @@
[ClassVersion("1.0.0")]
class MSFT_xLogCustomField
{
[Required, Description("Name for the custom field")] String LogFieldName;
[Required, Description("Name for the source type")] String SourceName;
[Required, Description("Specify the source type"), ValueMap{"RequestHeader","ResponseHeader","ServerVariable"},Values{"RequestHeader","ResponseHeader","ServerVariable"}] String SourceType;
};
[ClassVersion("1.0.0"), FriendlyName("xIisLogging")]
class MSFT_xIisLogging : OMI_BaseResource
{
[Key, Description ("The directory to be used for logfiles")] String LogPath;
[Write, Description ("The W3C logging fields"), ValueMap{"Date","Time","ClientIP","UserName","SiteName","ComputerName","ServerIP","Method","UriStem","UriQuery","HttpStatus","Win32Status","BytesSent","BytesRecv","TimeTaken","ServerPort","UserAgent","Cookie","Referer","ProtocolVersion","Host","HttpSubStatus"}, Values{"Date","Time","ClientIP","UserName","SiteName","ComputerName","ServerIP","Method","UriStem","UriQuery","HttpStatus","Win32Status","BytesSent","BytesRecv","TimeTaken","ServerPort","UserAgent","Cookie","Referer","ProtocolVersion","Host","HttpSubStatus"}] String LogFlags[];
[Write, Description ("How often the log file should rollover"), ValueMap{"Hourly","Daily","Weekly","Monthly","MaxSize"}, Values{"Hourly","Daily","Weekly","Monthly","MaxSize"}] String LogPeriod;
[Write, Description ("How large the file should be before it is truncated")] String LogTruncateSize;
[Write, Description ("Use the localtime for file naming and rollover")] Boolean LoglocalTimeRollover;
[Write, Description ("Format of the Logfiles. Only W3C supports LogFlags"), ValueMap{"IIS","W3C","NCSA"}, Values{"IIS","W3C","NCSA"}] String LogFormat;
[Write, EmbeddedInstance("MSFT_xLogCustomField"), Description("Custom logging field information in the form of an array of embedded instances of MSFT_xLogCustomField CIM class")] String LogCustomFields[];
};
[ClassVersion("1.0.0")]
class MSFT_xLogCustomField
{
[Required, Description("Name for the custom field")] String LogFieldName;
[Required, Description("Name for the source type")] String SourceName;
[Required, Description("Specify the source type"), ValueMap{"RequestHeader","ResponseHeader","ServerVariable"},Values{"RequestHeader","ResponseHeader","ServerVariable"}] String SourceType;
};

[ClassVersion("1.0.0"), FriendlyName("xIisLogging")]
class MSFT_xIisLogging : OMI_BaseResource
{
[Key, Description ("The directory to be used for logfiles")] String LogPath;
[Write, Description ("The W3C logging fields"), ValueMap{"Date","Time","ClientIP","UserName","SiteName","ComputerName","ServerIP","Method","UriStem","UriQuery","HttpStatus","Win32Status","BytesSent","BytesRecv","TimeTaken","ServerPort","UserAgent","Cookie","Referer","ProtocolVersion","Host","HttpSubStatus"}, Values{"Date","Time","ClientIP","UserName","SiteName","ComputerName","ServerIP","Method","UriStem","UriQuery","HttpStatus","Win32Status","BytesSent","BytesRecv","TimeTaken","ServerPort","UserAgent","Cookie","Referer","ProtocolVersion","Host","HttpSubStatus"}] String LogFlags[];
[Write, Description ("How often the log file should rollover"), ValueMap{"Hourly","Daily","Weekly","Monthly","MaxSize"}, Values{"Hourly","Daily","Weekly","Monthly","MaxSize"}] String LogPeriod;
[Write, Description ("How large the file should be before it is truncated")] String LogTruncateSize;
[Write, Description ("Use the localtime for file naming and rollover")] Boolean LoglocalTimeRollover;
[Write, Description ("Format of the Logfiles. Only W3C supports LogFlags"), ValueMap{"IIS","W3C","NCSA"}, Values{"IIS","W3C","NCSA"}] String LogFormat;
[Write, EmbeddedInstance("MSFT_xLogCustomField"), Description("Custom logging field information in the form of an array of embedded instances of MSFT_xLogCustomField CIM class")] String LogCustomFields[];
};


@@ -1,8 +1,8 @@
[ClassVersion("1.0.0"), FriendlyName("xIisMimeTypeMapping")]
class MSFT_xIisMimeTypeMapping : OMI_BaseResource
{
[Key, Description("This can be either an IIS configuration path in the format computername/webroot/apphost, or the IIS module path in this format IIS:\\sites\\Default Web Site.")] String ConfigurationPath;
[Key, Description("The file extension to map such as .html or .xml.")] string Extension;
[Key, Description("The MIME type to map that extension to such as text/html.")] string MimeType;
[Required, Description("Ensures that the MIME type mapping is Present or Absent."),ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
};
[ClassVersion("1.0.0"), FriendlyName("xIisMimeTypeMapping")]
class MSFT_xIisMimeTypeMapping : OMI_BaseResource
{
[Key, Description("This can be either an IIS configuration path in the format computername/webroot/apphost, or the IIS module path in this format IIS:\\sites\\Default Web Site.")] String ConfigurationPath;
[Key, Description("The file extension to map such as .html or .xml.")] string Extension;
[Key, Description("The MIME type to map that extension to such as text/html.")] string MimeType;
[Required, Description("Ensures that the MIME type mapping is Present or Absent."),ValueMap{"Present", "Absent"},Values{"Present", "Absent"}] string Ensure;
};
14 changes: 7 additions & 7 deletions DSCResources/MSFT_xSSLSettings/MSFT_xSSLSettings.schema.mof
@@ -1,7 +1,7 @@
[ClassVersion("1.0.0"), FriendlyName("xSSLSettings")]
class MSFT_xSSLSettings : OMI_BaseResource
{
[Key, Description("Name of website in which to modify the SSL Settings")] String Name;
[Required, Description("The Bindings in which to modify for the website"), ValueMap{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"},Values{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"}] String Bindings[];
[Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"},Description("Whether the bindings should be present or absent")] String Ensure;
};
[ClassVersion("1.0.0"), FriendlyName("xSSLSettings")]
class MSFT_xSSLSettings : OMI_BaseResource
{
[Key, Description("Name of website in which to modify the SSL Settings")] String Name;
[Required, Description("The Bindings in which to modify for the website"), ValueMap{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"},Values{"","Ssl","SslNegotiateCert","SslRequireCert","Ssl128"}] String Bindings[];
[Write,ValueMap{"Present", "Absent"},Values{"Present", "Absent"},Description("Whether the bindings should be present or absent")] String Ensure;
};

0 comments on commit 74ea38b

Please sign in to comment.