Puppet: System Administration Automated

Support

Ticket #940 (closed defect: duplicate)

Opened 1 year ago

Last modified 1 year ago

Package provider for openbsd installs package repeatedly

Reported by: jtimberman Assigned to: community
Priority: normal Milestone:
Component: library Version: 0.23.2
Severity: normal Keywords: openbsd
Cc: Triage Stage: Unreviewed
Attached Patches: None Complexity: Unknown

Description

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

Change History

12/06/07 17:58:20 changed by luke

  • status changed from new to closed.
  • resolution set to duplicate.

I'm marking this as a dupe of #941, even though this one was created earlier, since the other ticket has much more information.