Resource Type: dsc_inisettingsfile

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

Overview

The DSC IniSettingsFile resource type. Automatically generated from ‘FileContentDsc/DSCResources/DSR_IniSettingsFile/DSR_IniSettingsFile.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_key

    Key - The name of the key to add or set in the section.

  • dsc_path

    Path - The path to the INI settings file to set the entry in.

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_secret

    Secret - The secret text to set the entry value to. Only used when Type is set to ‘Secret’.

  • dsc_section

    Section - The section to add or set the entry in.

  • dsc_text

    Text - The text to set the entry value to. Only used when Type is set to ‘Text’.

  • dsc_type

    Type - Specifies the value type that contains the value to set the entry to. Defaults to ‘Text’. Valid values are Text, Secret.

  • name (namevar)
  • provider

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