New to puppet, loving it so far. But I spent a bit of time googling
around and looking through the reductive labs site... can't seem to
find an answer to this.
May 20 23:28:42 puppet puppetmasterd[26269]:
(//puppet/svn/Package[subversion]/ensure) change from absent to
present failed: You must specify a package source for BSD packages
The module's init file is:
# SVN - Ensure SVN is installed on a host
class svn {
package { "subversion": ensure => installed }
}
Now, obviously I need to set the PKG_PATH env variable:
export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/
I found a FreeBSD page which suggests putting it into the rc.conf /
rc.local, while this might work for OpenBSD, it seems a bit hackish...
is that the right way? Is there another way that I can just globally
specify it in puppet?
I was thinking:
Exec { pkg_path => "ftp://ftp.openbsd.org/pub/OpenBSD/4.3/packages/i386/" }
But that doesn't work.
Pointers?
Regards
Mikel
please have a look at:
http://groups.google.com/group/puppet-dev/browse_thread/thread/2df8c5da40f55b4f/6714756864a3b918
there should be a fact for the openbsd version so you can make the
source param used on any version.
greets Pete