Forge Home


Install Chocolatey


19,975 latest version

2.8 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.9.3 (latest)
  • 0.9.2
  • 0.9.1
  • 0.9.0
released Feb 18th 2015
This version is compatible with:
  • Puppet Enterprise >= 3.3.0 < 4.0.0
  • Puppet >= 3.0.0 < 4.0.0
  • Windows

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'ceritsc-chocolatey_sw', '0.9.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ceritsc-chocolatey_sw
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ceritsc-chocolatey_sw --version 0.9.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.



ceritsc/chocolatey_sw — version 0.9.3 Feb 18th 2015

Puppet module for Chocolatey installation

This module installs Chocolatey, apt-get like Windows package manager. Package provider for Chocolatey is part of another module rismoney/chocolatey.


Module has been tested on:

  • Puppet 3.6
  • OS:
    • Windows Server 2008 SP1

Required modules:

Quick Start

include chocolatey_sw

Full configuration options:

class { 'chocolatey_sw':
  command  => 'iex ...',                      # command to install Chocolatey
  creates  => ['C:\ProgramData\chocolatey'],  # check for install directories
  provider => powershell,                     # command Exec provider


include chocolatey_sw

package { 'cygwin':
  ensure   => present,
  provider => 'chocolatey',
  require  => Class['chocolatey_sw'],

CERIT Scientific Cloud,