I just realized I should've posted here instead of on the puppet-dev
list to get people to test this out.

I've re-written the freebsd package provider for puppet so that it
supports updates and ensure => latest, so if anyone has a freebsd
machine they're willing to test on, that would be awesome.  "works on
my machine" is the stage it's at.

You should be able to download the file from:
http://github.com/westr/puppet/blob/feature/master/portupgrade/lib/puppet/provider/package/portupgrade.rb

Throw it in $libdir/puppet/provider/package/ on your master + clients
and in your package definition specify "provider => portupgrade" to
use it.

It requires portupgrade to be installed, and the major difference
between this and the other default installed versions is that you need
to specify the package:name as the port origin.  eg: "mail/postfix".
(This gets around the version issues with some ports).

Please test if you can, and let me know if you find any problems.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to