Resource Type: dsc_xwebsitedefaults

Defined in:
lib/puppet/type/dsc_xwebsitedefaults.rb
Providers:
powershell

Overview

The DSC xWebSiteDefaults resource type. Automatically generated from ‘xWebAdministration/DSCResources/MSFT_xWebSiteDefaults/MSFT_xWebSiteDefaults.schema.mof’

To learn more about PowerShell Desired State Configuration, please visit technet.microsoft.com/en-us/library/dn249912.aspx.

For more information about built-in DSC Resources, please visit technet.microsoft.com/en-us/library/dn249921.aspx.

For more information about xDsc Resources, please visit github.com/PowerShell/DscResources.

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • exists?
    • present

Parameters

  • dsc_allowsubdirconfig

    AllowSubDirConfig - sites/virtualDirectoryDefaults/allowSubDirConfig Valid values are true, false.

  • dsc_applyto

    ApplyTo - Dummy value because we need a key, always ‘Machine’ Valid values are Machine.

  • dsc_defaultapplicationpool

    DefaultApplicationPool - sites/applicationDefaults/applicationPool

  • dsc_logdirectory

    LogDirectory - sites/siteDefaults/logFile/directory

  • dsc_logformat

    LogFormat - sites/siteDefaults/logFile/logFormat Valid values are W3C, IIS, NCSA, Custom.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_tracelogdirectory

    TraceLogDirectory - sites/siteDefaults/traceFailedRequestsLogging/directory

  • name (namevar)
  • provider

    The specific backend to use for this ‘dsc_xwebsitedefaults` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.