Version information
Start using this module
Add this module to your Puppetfile:
mod 'arusso-apache', '0.1.4'
Learn more about managing modules with a PuppetfileDocumentation
apache Module
This module manages apache with particular emphasis on providing mechanisms to allow for unmanaged (by Puppet) configuration of virtual hosts.
Examples
# configure the global apache
class { 'apache':
service_ensure => true,
service_enable => true,
server_admin => 'webmaster@example.com',
}
# setup a vhost for www.example.com, mark it as the default vhost and
# add a few aliases.
apache::vhost { 'www.example.com':
document_root => '/var/www/html/www.example.com',
is_default => true,
server_name => 'www.example.com',
server_alias => [ 'www-2.example.com',
'blog.example.com' ],
ssl => false,
}
# if server_name is not specified, the $namevar is used. So in this case
# server_name = 'www2.example.com'. This one has ssl setup using a
# self-signed cert (since not intermedaite cert is provided).
apache::vhost { 'www2.example.com':
ssl => true,
ssl_key_file => '/etc/pki/tls/private/private.key',
ssl_crt_file => '/etc/pki/tls/certs/public.crt',
}
# another ssl example, this time with an intermediate cert being provided
apache::vhost { 'www3.example.com:
ssl => true,
ssl_key_file => '/etc/pki/tls/private/private.key',
ssl_crt_file => '/etc/pki/tls/certs/public.crt',
ssl_int_file => '/etc/pki/tls/certs/intermediate.crt',
}
License
See LICENSE file
Copyright
Copyright © 2013 The Regents of the University of California
Contact
Aaron Russo arusso@berkeley.edu
Support
Please log tickets and issues at the Projects site
2014-09-19 Aaron Russo arusso@berkeley.edu - 0.1.4
- fix resource uniqueness error that occurs when multiple vhosts use the same server_name parameter
2014-05-06 Aaron Russo arusso@berkeley.edu - 0.1.3
- fix issue where vhost config changes would not trigger service restart when it should
- provide raw and ssl_raw parameters to allow raw config to be easily inserted into vhost configs
2014-05-06 Aaron Russo arusso@berkeley.edu - 0.1.2
- allow override of template / config source for vhosts
2014-05-06 Aaron Russo arusso@berkeley.edu - 0.1.1
- remove non-critical functionality that breaks due to puppet parser limitations
2014-05-05 Aaron Russo arusso@berkeley.edu - 0.1.0
- refactor code to suck less
2014-04-29 Aaron Russo arusso@berkeley.edu - 0.0.8
- tweak secure-cookies config to edit the header
- wrap module loads in IfModule statements
2014-04-29 Aaron Russo arusso@berkeley.edu - 0.0.7
- Add support for allowing apache to listen selectively (ajz@berkeley.edu)
2014-02-12 Aaron Russo arusso@berkeley.edu - 0.0.6
- Add support for enabling secure cookies (jmakaiwi@berkeley.edu)
2013-10-07 Aaron Russo arusso@berkeley.edu - 0.0.5
- Issue#9: Allow override of Ssl::Cert dependencies
2013-10-03 Aaron Russo arusso@berkeley.edu - 0.0.4
- Issue#6: Ability to enable/disable include files
- Issue#8: Implemented unused document_root parameter in vhosts
2013-09-19 Aaron Russo arusso@berkeley.edu - 0.0.3
- Issue#1: adding NameVirtualHost lines
- Issue#2: replaced priority parameter with is_default
- Issue#3: removed version parameter from apache class
- Issue#4: removed params_lookup function for default param values
2013-06-02 Aaron Russo arusso@berkeley.edu - 0.0.2
- updating docs for acct rename
2013-05-28 Aaron Russo arusso@berkeley.edu - 0.0.1
- Initial Release
Dependencies
- arusso/oski (>= 0.0.1)
- puppetlabs/stdlib (>= 2.6.0)
- puppetlabs/concat (>= 0.2.0)
The MIT License (MIT) Copyright (c) 2013 The Regents of the University of California Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.