Forge Home

chocolatey

Chocolatey package provider for puppet

122,272 downloads

11,763 latest version

4.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.5.3 (latest)
  • 0.5.2
  • 0.4.1
  • 0.4.0
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Dec 22nd 2014
This module has been deprecated by its author since May 15th 2020.

The author has suggested chocolatey-chocolatey as its replacement.

Start using this module

Documentation

rismoney/chocolatey — version 0.4.1 Dec 22nd 2014

Support making Chocolatey better! Kickstarter - The Chocolatey Experience

puppet-chocolatey

Build Status

Member of the rismoney suite of Windows Puppet Providers

This is a Puppet package provider for chocolatey, which is like apt-get, but for Windows.

Installation

Install this module via any of these approaches:

Usage

Use it like this:

class rich::packages {
  $pkg = 'notepadplusplus'

  package { $pkg:
    ensure          => installed,
    provider        => 'chocolatey',
    install_options => ['-pre','-params','-mypkgparam'],
    source          => 'https://myfeed.example.com/api/v2',
  }
}

If you want to set this provider as the site-wide default, add to your site.pp:

if $::kernel == windows {
  # default package provider
  Package { provider => chocolatey }
}
  • this is versionable so ensure => '1.0' works
  • this is upgradeable
  • supports latest (checks upstream), absent (uninstall)
  • supports install_options for pre-release, other cli

Contributing

See CONTRIBUTING.md