Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stub_status location so it has line breaks. #141

Merged
merged 1 commit into from
Sep 16, 2013
Merged

Fix stub_status location so it has line breaks. #141

merged 1 commit into from
Sep 16, 2013

Conversation

vrillusions
Copy link
Contributor

Currently because the end calls are on the same line as the key-value lines and because they end in -%> it got rid of the line break in the template. This moves those end calls to next line which is how the other templates do it.

An example of what gets changed after this change is applied (HOST and EXAMPLE are replacement values for actual hostname):

--- /tmp/nginx.d/HOST.EXAMPLE.com-500-HOST-stub_status    2013-09-14 10:18:28.000000000 +0200
+++ /tmp/puppet-file20130914-4235-1go88yp-0     2013-09-14 10:22:01.000000000 +0200
@@ -1,4 +1,7 @@
   location /nginx_status {
-    access_log  off;    allow  127.0.0.1;    deny  all;    stub_status on;
+    access_log  off;
+    allow  127.0.0.1;
+    deny  all;
+    stub_status on;
   }

@jfryman
Copy link
Contributor

jfryman commented Sep 16, 2013

🤘

jfryman pushed a commit that referenced this pull request Sep 16, 2013
Fix stub_status location so it has line breaks.
@jfryman jfryman merged commit 4cf2406 into voxpupuli:master Sep 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants