Resource Type: dsc_package

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

Overview

The DSC Package resource type. Automatically generated from ‘PSDesiredStateConfiguration/DSCResources/MSFT_PackageResource/MSFT_PackageResource.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
    • absent

Parameters

  • dsc_arguments

    Arguments

  • dsc_credential

    Credential

  • dsc_ensure

    Ensure - Valid values are Present, Absent.

  • dsc_installed

    Installed

    Supported values:
    • true
    • false
  • dsc_installedon

    InstalledOn

  • dsc_logpath

    LogPath

  • dsc_name

    Name

  • dsc_packagedescription

    PackageDescription

  • dsc_path

    Path

  • dsc_productid

    ProductId

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_publisher

    Publisher

  • dsc_returncode

    ReturnCode

  • dsc_size

    Size

  • dsc_version

    Version

  • name (namevar)
  • provider

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