summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-25 10:59:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-25 10:59:39 -0200
commit11ca9c9cf1587a0fde9afde3d41a1d27685a4d70 (patch)
treeee9221f7c3f6ade1ea50d86a8ddafd94472a5466
parentffeb6f2240bf27bdddd1496e68bbd2de82ceb591 (diff)
downloadpuppet-nginx-11ca9c9cf1587a0fde9afde3d41a1d27685a4d70.tar.gz
puppet-nginx-11ca9c9cf1587a0fde9afde3d41a1d27685a4d70.tar.bz2
Fixing variable scopes (2)
-rw-r--r--templates/puppetmaster.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/puppetmaster.erb b/templates/puppetmaster.erb
index 8b568d4..e46e906 100644
--- a/templates/puppetmaster.erb
+++ b/templates/puppetmaster.erb
@@ -41,7 +41,7 @@ server {
listen <%= scope.lookupvar('nginx::puppetmaster::non_ssl_port') %>;
ssl_verify_client off;
root /var/empty;
- access_log /var/log/nginx/access-<%= non_ssl_port %>.log;
+ access_log /var/log/nginx/access-<%= scope.lookupvar('nginx::puppetmaster::non_ssl_port') %>.log;
rewrite_log on;
large_client_header_buffers 16 4k;