App::ForExample is a Perl module for generating sample configurations. It is not designed to do configuration management, but rather as a guide to get you 80% of the way there
Besides the usual Apache, lighttpd, nginx, and FastCGI configurations, App::ForExample can create a FastCGI start-stop script and a monit configuration for monitoring those processes
SYNOPSIS
# To output a FastCGI (ExternalServer)/Apache configuration (with monit stub and start-stop script), run:
for-example catalyst/fastcgi apache2 standalone --class My::App --hostname example.com --output my-app
# The above command would have created the following:
my-app.apache2 The Apache2 virtual host configuration (hosted at (www.)example.com)
my-app.start-stop The start/stop script to launch the FastCGI process
my-app.monit A monit stub used for monitoring the FastCGI process
# This will generate a basic, stripped-down monit configuration (monitrc) suitable for a non-root user:
for-example monit --home $HOME/monit --output $HOME/monit/monitrc
# A mod_perl configuration for Catalyst:
for-example catalyst/mod_perl --class Project::Xyzzy --hostname xyzzy.com --home Project-Xyzzy
Product's homepage
Requirements:
· Perl