Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 875 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 875 Bytes

puppet-apache

Puppet recipe that installs, configures and starts Apache HTTP server with CGI

Features

Puppet recipe which install Apache httpd serice and loads cgi module. For cgi configuration is used cgi.conf file which is in template/cgi.conf. This configuration file will be copy into /etc/httpd/conf/cgi.conf. There is an example perl script scripts/index.pl which shows some system info, such as uptime of server, number of processors, RAM size, opened files and running proccess, and this file is copied into /var/www/cgi-bin/index.pl.

Requirements:

Generally, you need the following things installed:

  • puppet 2.7.21 or higher
  • Ruby 1.8.7, and 1.9.3 are fully supported.
  • Ruby OpenSSL library.

Usage:

You can start installation with:

puppet apply main.pp

it will automaticly run httpd.pp and perl.pp manifests.