Resource Type: chocolateyconfig

Defined in:
lib/puppet/type/chocolateyconfig.rb
Providers:
windows

Overview

Allows managing config settings for Chocolatey. Configuration values provide settings for users to configure aspects of Chocolatey and the way it functions. Similar to features, except allow for user configured values. Requires 0.9.10+. Learn more about config at chocolatey.org/docs/commands-config

Properties

  • ensure (defaults to: present)

    Specifies state of resource

    Supported values:
    • present
    • absent
  • value

    The value of the config setting. If the name includes ‘password’, then the value is not ensurable due to being encrypted in the configuration file.

Parameters

  • name (namevar)

    The name of the config setting. Used for uniqueness. Puppet is not able to easily manage any values that include Password in the key name in them as they will be encrypted in the configuration file.

  • provider

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