Resource Type: dsc_spfarmsolution

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

Overview

The DSC SPFarmSolution resource type. Automatically generated from ‘SharePointDsc/DSCResources/MSFT_SPFarmSolution/MSFT_SPFarmSolution.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_deployed

    Deployed - Should the solution be deployed to the farm, or just installed to the farm

    Supported values:
    • true
    • false
  • dsc_ensure

    Ensure - Present if the WSP should be deployed, or Absent if it should be removed Valid values are Present, Absent.

  • dsc_installaccount

    InstallAccount - POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5

  • dsc_literalpath

    LiteralPath - The full path to the WSP file

  • dsc_name

    Name - The filename of the WSP package

  • dsc_psdscrunascredential

    PsDscRunAsCredential

  • dsc_solutionlevel

    SolutionLevel - What compatability level should the WSP be deployed as? Valid values are 14, 15, All.

  • dsc_version

    Version - The version of the package that is being modified

  • dsc_webapplications

    WebApplications - A list of the web applications to deploy this to

  • name (namevar)
  • provider

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