Resource Type: psrepository

Defined in:
lib/puppet/type/psrepository.rb
Providers:
powershellcore
windowspowershell

Overview

Manage sources for PowerShell modules

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • installation_policy (defaults to: untrusted)

    Installation policy for this repository. Must be trusted or untrusted

    Supported values:
    • trusted
    • untrusted
  • source_location

    The source location

Parameters

  • name (namevar)

    The name of the repository

  • provider

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