This class installs Apache
##Parameters:
##Actions:
- Install Apache
- Manage Apache service
##Requires:
##Sample Usage:
This class installs Apache Virtual Hosts
- The $port to configure the host on
- The $docroot provides the DocumentationRoot variable
- The $ssl option is set true or false to enable SSL for this Virtual Host
- The $template option specifies whether to use the default template or override
- The $priority of the site
- The $serveraliases of the site
- Whether Phusion $passenger is used for this vhost or not (true|false)
- Whether apache should be notified of a service $restart or not
- Install Apache Virtual Hosts
- The apache class
- For usage of the Passenger module, ensure that the $docroot points to your apps public folder.
apache::vhost { 'site.name.fqdn':
priority => '20',
port => '80',
docroot => '/path/to/docroot',
passenger => 'true',
}