Skip to content

Commit

Permalink
make linter happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
furest committed Nov 22, 2024
1 parent d15b3c9 commit ddf98ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions modules/akvorado/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@
backend => 'http://localhost:8081/api/v0/inlet/',
}
apache::proxy { '3_akvorado-console':
url => '/',
backend => 'http://localhost:8082/',
allowEncodedSlashes => true,
url => '/',
backend => 'http://localhost:8082/',
allow_encoded_slashes => true,
}
service { 'akvorado-orch':
ensure => running,
Expand Down
2 changes: 1 addition & 1 deletion modules/apache/manifests/proxy.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file
#
define apache::proxy($url, $backend, $allowEncodedSlashes = false) {
define apache::proxy($url, $backend, $allow_encoded_slashes = false) {
exec { "apache_proxy_reload_${name}":
command => '/usr/sbin/apachectl graceful',
refreshonly => true,
Expand Down
2 changes: 1 addition & 1 deletion modules/apache/templates/proxy.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ProxyPass <%= @url %> <%= @backend %>
RequestHeader set X-Proxy-REMOTE-USER %{REMOTE_USER}s
ProxyPreserveHost on

<% if @allowEncodedSlashes == true -%>
<% if @allow_encoded_slashes == true -%>
AllowEncodedSlashes On
<% end -%>

0 comments on commit ddf98ea

Please sign in to comment.