Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Forks
Puppet Portage
Commits
6415937c
Commit
6415937c
authored
Dec 12, 2016
by
Robin H. Johnson
Committed by
GitHub
Dec 12, 2016
Browse files
Merge pull request #123 from CorCornelisse/CaseException-MakeConfTemplate
http and ftp proxy variables should be lowercase
parents
6a560674
de0a0354
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
templates/makeconf.conf.erb
templates/makeconf.conf.erb
+2
-0
No files found.
templates/makeconf.conf.erb
View file @
6415937c
<%
if
@content
==
''
-%>
<%
if
@content
==
''
-%>
<%=
@name
%>
<%=
@name
%>
<%
elsif
@name
==
'http_proxy'
or
@name
==
'ftp_proxy'
-%>
<%=
@name
.
downcase
%>
="
<%=
[
@content
].
flatten
.
join
(
' '
)
%>
"
<%
else
-%>
<%
else
-%>
<%=
@name
.
upcase
%>
="
<%=
[
@content
].
flatten
.
join
(
' '
)
%>
"
<%=
@name
.
upcase
%>
="
<%=
[
@content
].
flatten
.
join
(
' '
)
%>
"
<%
end
-%>
<%
end
-%>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment