Skip to content

fup/puppet-apache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class: apache

This class installs Apache

##Parameters:

##Actions:

  • Install Apache
  • Manage Apache service

##Requires:

##Sample Usage:

Definition: apache::vhost

This class installs Apache Virtual Hosts

Parameters:

  • 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

Actions:

  • Install Apache Virtual Hosts

Requires:

  • The apache class

Notes:

  • For usage of the Passenger module, ensure that the $docroot points to your apps public folder.

Sample Usage:

  apache::vhost { 'site.name.fqdn':
    priority  => '20',
    port      => '80',
    docroot   => '/path/to/docroot',
    passenger => 'true',
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published