Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Chocolatey package provider

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .repo
Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 tests
Octocat-spinner-32 .gitattributes
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .project
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 CONTRIBUTING.md
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Modulefile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 metadata.json
README.md

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

Something went wrong with that request. Please try again.