Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-4337

OpenBSD package provider does not correctly fail for packages that don't exist

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Coremunity

      Description

      Installing packages via Puppet on OpenBSD does not seem to work, here is the relevant part of the debug output from a run that tries to install bash & zsh packages:

      Debug: Executing '/usr/sbin/pkg_info -a'
      Debug: Executing '/usr/sbin/pkg_info bash'
      Debug: Executing '/usr/sbin/pkg_add http://mirror.bytemark.co.uk/pub/OpenBSD/5.6/packages/amd64'
      Notice: /Stage[main]/Bashprofile/Package[bash]/ensure: created
      Debug: /Package[bash]: The container Class[Bashprofile] will propagate my refresh event
      Debug: Executing '/usr/sbin/pkg_info zsh'
      Debug: Executing '/usr/sbin/pkg_add http://mirror.bytemark.co.uk/pub/OpenBSD/5.6/packages/amd64'
      Notice: /Stage[main]/Main/Package[zsh]/ensure: created

      As you can see it reports a success but command that returned this success is actually a failure, here it is ran from the cli:

      1. /usr/sbin/pkg_add http://mirror.bytemark.co.uk/pub/OpenBSD/5.6/packages/amd64
        quirks-2.9 signed on 2014-07-31T22:37:55Z
        http://mirror.bytemark.co.uk/pub/OpenBSD/5.6/packages/ is empty
        Can't find amd64

      I'm not really an OpenBSD guy but it seems the options being passed to pkg_add are not sufficient to install the package as it is not actually telling pkg_add what to install just where it should be installing from.

        Attachments

          Activity

            People

            Assignee:
            jasper Jasper Lievisse Adriaanse
            Reporter:
            kemra102 Danny Roberts
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support