Fixed some puppet syntax things. In init.pp, pkgng_supported and pkgng_version are facts, and need global pathspec $::. The duplicated test for purge_repos_d is unnecessary. Booleans should not be encased in quotes of any kind, so I removed it and added a validate_bool test above. In repo.pp; there is an ensure => $ensure, however $ensure is not a set variable unless it was intended to be a global pathspec var... which I doubt so I have removed it... it will default to ensure => file in this case.
Removed commented line - got the attention it deserved
Merge pull request #40 from mengesb/puppet_formating_fixes

Fixed some puppet syntax things.
Fix method call for Facter v2

Facter 2 doesn't seem to support methods for fact values.  This code
moves to use a supported method that can be used to retrieve fact values
from the loaded facts.
Merge pull request #42 from xaque208/factfix

Fix method call for Facter v2
Fixes facts for when pkg was not installed by pkg.

Pkg may be installed via make or pkg_add. There is also a bug I am
trying to run down where pkg bootstraps fine but still isn't present in
`pkg info`.

This change fixes puppet facts for FBSD 10 or 11 in any of the
aforementioned cases. I did not touch FBSD 8 or 9, due to the warning
present in the pkg(8) description of the -N option.
Fixed out of date version.
Add support for DragonFly
Merge pull request #45 from bwalex/dragonfly

Add support for DragonFly
Merge pull request #44 from rmelcer/master

Fixes facts for when pkg was not installed by pkg.
(rel) 0.2.2
Fixup on version pinning

Previously version pinning was not working due to the code not checking
for the requested version and just calling the install method.  This
  work corrects this behavior by checking the requested version and
  calling the install method to ensure the correct version gets
  installed.
changed the pkg command to make it easier to parse and updated the parsing lines
update pkg query arguments
Get tests functional for installing a specific version
Merge pull request #51 from xaque208/versionfix

Fix version pinning
(rel) 0.2.3
Purge default repos if specified (new default)

It's sensible that we want to do this as we don't really want to have
repos defined in both /usr/local/etc/ and /etc/

This changes the default and therefore the README - this behaviour is
what people want. We could not change the default, but I believe this
causes more confusion than anything else... so let's just not let people
do silly things to their *BSD boxes.