summaryrefslogtreecommitdiff
path: root/templates/default.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-16 14:22:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-16 14:22:31 -0300
commit2ebc136f0f432f5fdeeffab01198289b657332b0 (patch)
tree4c0b10038d59e08736f94b01eac4d4801df98d4c /templates/default.erb
parentaf91d2e0abe4174440b132ea4d046a69b97214ae (diff)
downloadpuppet-apache-2ebc136f0f432f5fdeeffab01198289b657332b0.tar.gz
puppet-apache-2ebc136f0f432f5fdeeffab01198289b657332b0.tar.bz2
Support for custom http and https ports
Diffstat (limited to 'templates/default.erb')
-rw-r--r--templates/default.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/default.erb b/templates/default.erb
index a4361b7..8b49c77 100644
--- a/templates/default.erb
+++ b/templates/default.erb
@@ -1,5 +1,5 @@
# begin vhost for <%= fqdn %>
-<VirtualHost *:80>
+<VirtualHost *:<%= scope.lookupvar('apache::http_port') %>>
ServerName <%= fqdn %>
DocumentRoot <%= scope.lookupvar('apache::default_folder') %>