Test::Config::System is a Perl module with system configuration related unit tests.
SYNOPSIS
use Test::Config::System tests => 3;
check_package('less', 'package less');
check_package('emacs21', 'emacs uninstalled', 1);
check_link('/etc/alternatives/www-browser', '/usr/bin/w3m');
check_file_contents('Test/Config/System.pm', qr/do {local $//);
Test::Config::System provides functions to help test system configuration, such as installed packages or config files. It was built for use in a cfengine staging environment. (http://www.cfengine.org. cfengine is used for automating and managing system configuration at large sites).
Test::Config::System does not depend on, or interact with cfengine in any way, however, and can be used on its own or with another configuration management tool (such as puppet or bcfg2).
This module is a subclass of Test::Builder::Module, and is used like any other Test::* module. Instead of directly providing an ok() function, the functions exported (described below), call ok() themselves, based on the outcome of the check they preform.
Product's homepage
Requirements:
· Perl