A Puppet package provider for FreeBSD's PkgNG package manager.
Ruby Puppet
Pull request Compare This branch is 105 commits behind xaque208:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
manifests updated comment Feb 16, 2014
spec (feat) Add feature upgradeable Jan 26, 2014
templates
.gitignore (feat) Add feature upgradeable Jan 26, 2014
.puppet-lintrc (maint) Improve TravisCI testing Dec 15, 2013
.travis.yml
Gemfile (maint) Improve TravisCI testing Dec 15, 2013
LICENSE (maint) Add license Dec 15, 2013
Modulefile
README.md added support for managing multiple repositories Feb 16, 2014
Rakefile

README.md

Puppet-pkgng

Build Status

A package provider for FreeBSD's PkgNG package manager.

This module contains the provider as well as some implementation around configuring the pkg.conf file. If you are building your own PkgNG packages, you may also want to look at my poudriere module.

Installation

The easiest way to install is to install from the forge.

puppet module install zleslie/pkgng

Then to configure your system to use a PkgNG, a simple include will do.

include pkgng

or when you want to use specific PkgNG repositories:

pkgng::repo { 'pkg.freebsd.org': }
pkgng::repo { 'my.own.repo': }

Installation via r10K

You can also clone this repo to somewhere in your modulepath, or use something like r10k to deploy your modules. R10k is sweet. For those not familiar, check out Finch's blog post about it.

Installation via Librarian-Puppet

Installation via Librarian-Puppet is straight forward, simply add the following to your Puppetfile

mod 'zleslie/pkgng'

Usage

Once you have the module installed, you can use it by simply adding a site default in site.pp that looks like this.

Package {
  provider => pkgng
}

Now every package that you install will use the PkgNG provider.