DH_VAGRANT_PLUGIN(1)
π DH_VAGRANT_PLUGIN(1) β no cap, the manual page bestie π
okay so this is section 1 of the manual, and the whole thing is literally called DH_VAGRANT_PLUGIN(1) β yes, the page name and the section number, iconic, we love a title that ate. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
dh_vagrant_plugin β packaging helper for vagrant plugins. that's it, that's the job. it helps you package, bestie. π
π¦ SYNOPSIS π¦
gem2deb-test-runner [PACKAGE-NAME]
not me copying this line character for character β yes, it saysgem2deb-test-runnerand notdh_vagrant_plugin, and no, I'm not "fixing" it, because the manpage says what the manpage says and we do not editorialize on the facts. π
π DESCRIPTION π
so what does dh_vagrant_plugin actually do? it installs the necessary metadata for vagrant to recognize plugins installed by Debian packages. like, vagrant needs to know these plugins exist, and this lil helper makes that happen. main character energy fr fr.
to use it, you gotta do two things, and the way that this is numbered in the original is very much a vibe, so:
- make sure the package Ruby code is installed as in any other Ruby package β standard Ruby packaging behavior, nothing special, you already know this π«Ά
- call
dh_vagrant_pluginat the install phase of your package. that's the moment. that's the slay. β¨
if PACKAGE-NAME is omitted, it will be taken from the first line in the output of dh_list_packages(1). so it'll go find out who it is on its own. self-sufficient queen π
πΈ the sample debian/rules that should just work πΈ
here's a sample debian/rules that should just work, and I mean that literally, that's what the page says:
#!/usr/bin/make -f
export DH_RUBY = --gem-install
%:
dh $@ --buildsystem=ruby --with ruby
override_dh_auto_install:
dh_auto_install
dh_vagrant_plugin
copy it, ship it, don't overthink it. obsessed. π₯
π SEE ALSO π
vagrant(1)dh_list_packages(1)- and then, right there at the end of the line, literally the characters
EOFβ yep, it's in there, we're keeping it, no notes π
and that's the whole page, bestie!! π source/version vibes are DH_VAGRANT_PLUGIN(1) and the date stamped on this whole thing is 2025-02-12 β so go forth, install your metadata, and be the vagrant plugin packager you were always meant to be. mwah ππ
π§
π¦ where this page comes from
- debian trixie: vagrant 2.3.7+git20230731.5fc64cde+dfsg-3+b1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms