Resource Type: dsc_xpackage

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

Overview

The DSC xPackage resource type. Automatically generated from ‘xPSDesiredStateConfiguration/DSCResources/MSFT_xPackageResource/MSFT_xPackageResource.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_createcheckregvalue

    CreateCheckRegValue

    Supported values:
    • true
    • false
  • dsc_credential

    Credential

  • dsc_ensure

    Ensure - Valid values are Present, Absent.

  • dsc_filehash

    FileHash

  • dsc_hashalgorithm

    HashAlgorithm - Valid values are SHA1, SHA256, SHA384, SHA512, MD5, RIPEMD160.

  • dsc_installed

    Installed

    Supported values:
    • true
    • false
  • dsc_installedcheckreghive

    InstalledCheckRegHive - Valid values are LocalMachine, CurrentUser.

  • dsc_installedcheckregkey

    InstalledCheckRegKey

  • dsc_installedcheckregvaluedata

    InstalledCheckRegValueData

  • dsc_installedcheckregvaluename

    InstalledCheckRegValueName

  • 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_runascredential

    RunAsCredential

  • dsc_servercertificatevalidationcallback

    ServerCertificateValidationCallback

  • dsc_signersubject

    SignerSubject

  • dsc_signerthumbprint

    SignerThumbprint

  • dsc_size

    Size

  • dsc_version

    Version

  • name (namevar)
  • provider

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