Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
mirror
yum
Commits
002668c5
Commit
002668c5
authored
Feb 17, 2015
by
Sean OMeara
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #113 from viyh/master
Make reposdir setting useful
parents
faea88c9
654686ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
attributes/main.rb
attributes/main.rb
+1
-0
templates/default/main.erb
templates/default/main.erb
+4
-1
No files found.
attributes/main.rb
View file @
002668c5
...
...
@@ -79,6 +79,7 @@ default['yum']['main']['password'] = nil # /.*/
default
[
'yum'
][
'main'
][
'recent'
]
=
nil
# /^\d+$/
default
[
'yum'
][
'main'
][
'releasever'
]
=
nil
# /.*/
default
[
'yum'
][
'main'
][
'repo_gpgcheck'
]
=
nil
# [TrueClass, FalseClass]
default
[
'yum'
][
'main'
][
'reposdir'
]
=
nil
# /.*/
default
[
'yum'
][
'main'
][
'reset_nice'
]
=
nil
# [TrueClass, FalseClass]
default
[
'yum'
][
'main'
][
'rpmverbosity'
]
=
nil
# %w{ info critical# emergency error warn debug }
default
[
'yum'
][
'main'
][
'showdupesfromrepos'
]
=
nil
# [TrueClass, FalseClass]
...
...
templates/default/main.erb
View file @
002668c5
...
...
@@ -198,6 +198,9 @@ releasever=<%= @config.releasever %>
<%
if
@config
.
repo_gpgcheck
%>
repo_gpgcheck=
<%=
@config
.
repo_gpgcheck
%>
<%
end
%>
<%
if
@config
.
reposdir
%>
reposdir=
<%=
@config
.
reposdir
%>
<%
end
%>
<%
if
@config
.
reset_nice
%>
reset_nice=
<%=
@config
.
reset_nice
%>
<%
end
%>
...
...
@@ -251,7 +254,7 @@ username=<%= @config.username %>
<%
end
%>
<%
if
@config
.
options
-%>
<%
@config
.
options
.
each
do
|
key
,
value
|
-%>
<%=
key
%>
=
<%=
<%=
key
%>
=
<%=
case
value
when
Array
value
.
join
(
"
\n
"
)
...
...
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