Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:albanpeignier/puppet-apache2

  • Loading branch information...
commit 1f870209f3113f0116ca99d9c076c5d82d80b656 2 parents e225c52 + 3e0d49f
@albanpeignier albanpeignier authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 manifests/definitions/proxy_site.pp
View
5 manifests/definitions/proxy_site.pp
@@ -1,7 +1,8 @@
-define apache2::proxy_site($target, $preserve_host = true, $content = '') {
+define apache2::proxy_site($target, $preserve_host = true, $content = '', $ensure = 'present') {
include apache2::proxy::http
site { $name:
- content => template("apache2/reverse-proxy.conf")
+ content => template("apache2/reverse-proxy.conf"),
+ ensure => $ensure
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.