Even though the package is already installed (see pkg_info output below), the 'bash' package keeps getting installed. Here's output from the puppetd --test run:
notice: Ignoring cache
info: Caching configuration at /var/lib/puppet/localconfig.yaml
notice: Starting configuration run
err: Could not prefetch package provider 'openbsd': No command info defined for provider
notice: //fw2b/obsd::bash/Package[bash]/ensure: created
notice: Finished configuration run in 11.13 seconds
Here's my class in the manifest:
class obsd::bash {
package { "bash":
ensure => "installed",
source => "http://gold1a/pub/OpenBSD/4.2/packages/i386/bash-3.2.17.tgz",
}
}
Note that it wouldn't find the bash package with the environment variable PKG_PATH set to "http://gold1a/pub/OpenBSD/4.2/packages/i386", while using "pkg_add bash" worked fine.
And information about the already installed package:
# pkg_info bash
Information for inst:bash-3.2.17
Comment:
GNU Bourne Again Shell
Description:
Bash is the GNU Project's Bourne Again SHell, an sh-compatible
command language interpreter that executes commands read from the
standard input or from a file. Bash also incorporates useful
features from the Korn and C shells (ksh and csh).
Bash is intended to be a conformant implementation of the IEEE POSIX
Shell and Tools specification (IEEE Working Group 1003.2).
Maintainer: Christian Weisgerber <naddy@openbsd.org>
WWW: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html