Commit 654686ed authored by Joe Richards's avatar Joe Richards

Make reposdir setting useful

parent faea88c9
......@@ -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]
......
......@@ -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 ")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment