PgreetConfTest - Apply tests to Penguin Greeting pgreet.conf files
PgreetConfTest [-v] filename_to_test.conf
PgreetConfTest
is a tool to check if the
settings in the main Penguin Greeting configuration file
pgreet.conf are reasonable. It applies the same tests
that are applied by pgreetd
daemon upon starting
up, but provides a full report of what was wrong if anything.
In order to avoid clogging up syslog, pgreetd
provides only a terse indication of what is wrong. Both
pgreetd
and PgreetConfTest
rely on
same methods in the module Pgreet::Config
to do
the validation, so the answers are guaranteed to be the
same.
PgreetConfTest
takes one argument, the filename
to be analyzed. The pgreet.conf files for both primary
and secondary ecard sites can be analyzed, but it is especially
valuable for the primary site. PgreetConfTest
will
provide a list of configuration variables that have problems
and list the expectations that were not met. For more
information on the configuration variables, see the Penguin
Greetings Administrators' guide. There is one command line
option -v
:
-v
= Display the configuration variables as a
Perl hash data-structure using Data::Dumper
.
This option may be of use in attempting to untangle unusual errors.
Copyright (c) 2003-2005 Edouard Lagache
This software is released under the GNU General Public License, Version 2. For more information, see the COPYING file included with this software or visit: http://www.gnu.org/copyleft/gpl.html
No known bugs at this time.
Edouard Lagache <pgreetdev@canebas.org>
1.0.0