-
Notifications
You must be signed in to change notification settings - Fork 5
Apache Puppet module
License
ghoneycutt/puppet-apache
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
apache Manages apache servers, remote restarts, and mod_ssl, mod_php, mod_python, mod_perl You can also easily setup a web server by only specifying the apache config file, such as apache::vhost { "mediawiki": source => "puppet:///modules/mediawiki/mediawiki.conf", } # Definition: apache::vhost # # setup a vhost # # Parameters: # $ensure - defaults to 'present' # $content - quoted content or a template # $source - file to grab with the VirtualHost information # # Actions: # sets up a vhost # # Requires: # $content our $source must be set # # Sample Usage: # in the mediawiki module you could setup the web portion with the following # code, where the mediawiki.conf file contains the <VirtualHost> statements # # apache::vhost { "mediawiki": # source => "puppet:///modules/mediawiki/mediawiki.conf", # } # apache::vhost # Definition: apache::module # # setup an apache module - this is used primarily by apache # subclasses, such as apache::php, apache::perl, etc # # Parameters: # $ensure - default to 'present' # $content - quoted content or a template # $source - file to grab with the VirtualHost information # # Actions: # sets up an apache module # # Requires: # $content our $source must be set # # Sample Usage: # this would install the php.conf which includes the LoadModule, # AddHandler, AddType and related info that apache needs # # apache::module{"php": # source => "puppet:///modules/apache/php.conf", # } # apache::module # Definition: apache::ssl::set_cert # # install certificate # # Parameters: # $certfile - public cert # $certkey - private key # $ip - ip address to use, uses $ipaddress from facter by default # $port - port to use, uses 443 by default # $cachain - cachain file # $revokefile - revoke file # # Actions: # installs certs # # Requires: # $certfile must be set # $certkey must be set # # Sample Usage: # # *.yoursite.com # @set_cert { "staryoursite": # certfile => "/etc/pki/tls/certs/yoursite_cert.pem", # certkey => "/etc/pki/tls/private/yoursite_key.pem", # } # @set_cert
About
Apache Puppet module
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published