Bug#916437: RFP: libhostfile-manager-perl -- A simple script to manage multiple sets of hostfiles on *NIX systems
Package: wnpp
Severity: wishlist
* Package name : libhostfile-manager-perl
Version : 0.0.9
Upstream Author : Anthony J. Mirabella <mirabeaj@gmail.com>
* URL : https://metacpan.org/release/Hostfile-Manager
* License : Perl
Programming Lang: Perl
Description : A simple script to manage multiple sets of hostfiles on *NIX systems
This program will read the hostfile fragments specified to be enabled from /etc/hostfiles/<fragment_name> and add them to /etc/hosts. It will remove any fragments from /etc/hosts that are specified to be disabled.
You can achieve the same result with `sudo nano /etc/hosts` but you would need to inspect and manage the file by hand. By contrast, Hostfile-Manager allows you to create a "fragment" once, then enable and disable it as needed.
hostsed <https://bugs.debian.org/916259> is an alternate tool that supports an ad-hoc workflow (unlike Hostfile-Manager) but doesn't support trusted fragments. See that RFP for notes on other alternatives.
Reply to: