Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support ensure absent in apache2::proxy_site

  • Loading branch information...
commit 532bd18d65939b50fd334a9d450a2d26b79e50d8 1 parent c34384f
@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.