dh_vagrant_plugin(1)

dh_vagrant_plugin1

Packaging helper for vagrant plugins

Usage

gem2deb-test-runner [PACKAGE-NAME]

Overview

dh_vagrant_plugin installs the necessary metadata for vagrant to recognize plugins installed by Debian packages. To use it, you need to 1) make sure the package Ruby code is installed as in any other Ruby package, and 2) call dh_vagrant_plugin at the install phase of your package.

If PACKAGE-NAME is omitted, it will be taken from the first line in the output of dh_list_packages(1).

A sample debian/rules that should just work is as follows:

  #!/usr/bin/make -f
  export DH_RUBY = --gem-install
  %:
        dh $@ --buildsystem=ruby --with ruby
  override_dh_auto_install:
        dh_auto_install
        dh_vagrant_plugin

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

From vagrant 2.3.7+git20230731.5fc64cde+dfsg-3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.