diff options
author | elijah <elijah@riseup.net> | 2014-05-30 14:52:26 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-06-02 12:03:01 -0700 |
commit | 4e3d168d103fea6476694997275c4df4821535f3 (patch) | |
tree | 34ffa9b55ceaecf776074f3cae042efe9af845ad /puppet/modules/site_static/manifests/domain.pp | |
parent | 55327fd72621e5c678e5f9ba923bc348ca840463 (diff) |
static site: added rack support, added custom apache config
Diffstat (limited to 'puppet/modules/site_static/manifests/domain.pp')
-rw-r--r-- | puppet/modules/site_static/manifests/domain.pp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/puppet/modules/site_static/manifests/domain.pp b/puppet/modules/site_static/manifests/domain.pp index 0f54a975..6941b1a3 100644 --- a/puppet/modules/site_static/manifests/domain.pp +++ b/puppet/modules/site_static/manifests/domain.pp @@ -1,10 +1,11 @@ define site_static::domain ( - $locations, $ca_cert, $key, $cert, - $tls_only, - $aliases) { + $tls_only=true, + $locations=undef, + $aliases=undef, + $apache_config=undef) { $domain = $name $base_dir = '/srv/static' @@ -15,13 +16,6 @@ define site_static::domain ( x509::key { $domain: content => $key } x509::ca { "${domain}_ca": content => $ca_cert } - class { '::apache': no_default_site => true, ssl => true } - include site_apache::module::headers - include site_apache::module::alias - include site_apache::module::expires - include site_apache::module::removeip - include site_apache::module::rewrite - apache::vhost::file { $domain: content => template('site_static/apache.conf.erb') } |