Forge Home

windows_package

Windows package functionality backport

11,533 downloads

11,533 latest version

4.1 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.0.1 (latest)
released Feb 27th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'reidmv-windows_package', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add reidmv-windows_package
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install reidmv-windows_package --version 0.0.1

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.

Download

Documentation

reidmv/windows_package — version 0.0.1 Feb 27th 2013

windows_package type/provider

This is the Package type/provider from Puppet 3.0 extracted from the 3.0 codebase and turned into a new type/provider for Puppet 2.7 called "windows_package". It is used in exactly the same way as the package type, but only works on Windows and adds the additional package management functionality available from the 'windows' package provider.

The big thing this provides is the ability to manage Windows packages that don't have an MSI installer. windows_package is capable of handling arbitrary EXE installers.

This module is only useful in the Puppet 2.7.x series. The functionality is native to the package type in Puppet 3.x.

Example Usage

windows_package { 'Microsoft .NET Framework 4 Client Profile': ensure => installed, source => 'C:/dotNetFx40_Full_x86_x64.exe', install_options => ['/q', '/norestart'], }

windows_package { '7-Zip': ensure => installed, name => '7-Zip 9.20 (x64 edition)', source => 'C:\7z920-x64.msi', }