A Puppet package provider for FreeBSD's PkgNG package manager.
Go to file
Zach Leslie e4415b91f6 cut 0.0.8 2013-10-29 07:28:54 -07:00
lib regex modification : set the fact "pkgng_supported" to "true" for FreeBSD 9.x and 10.x 2013-10-14 14:21:50 +02:00
manifests Fix puppet-lint indentation for previous commit. 2013-10-08 22:51:33 +01:00
spec Fix prefetching 2013-06-25 09:51:12 -07:00
.gitignore use bundler 2013-06-09 18:20:13 -07:00
.travis.yml use bundler 2013-06-09 18:19:47 -07:00
Gemfile surely commenting broken tests is as good as testing, right? 2013-06-09 18:44:07 -07:00
Modulefile cut 0.0.8 2013-10-29 07:28:54 -07:00
README.md make the build status visible 2013-06-09 18:23:58 -07:00

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 xaque208/pkgng

Then to configure your system to use a PkgNG, use something like the following.

class { "pkgng":
  packagesite => 'http://build.example.com/90amd64-default';
}

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.

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.