Commit 71893381 authored by Matt Thomson's avatar Matt Thomson

Add repo_gpgcheck parameter

parent 9c36fc44
......@@ -51,6 +51,7 @@ attribute :proxy_username, :kind_of => String, :regex => /.*/, :default => nil
attribute :proxy_password, :kind_of => String, :regex => /.*/, :default => nil
attribute :username, :kind_of => String, :regex => /.*/, :default => nil
attribute :password, :kind_of => String, :regex => /.*/, :default => nil
attribute :repo_gpgcheck, :kind_of => [TrueClass, FalseClass], :default => nil
attribute :report_instanceid, :kind_of => [TrueClass, FalseClass], :default => nil
attribute :repositoryid, :kind_of => String, :regex => /.*/, :name_attribute => true
attribute :skip_if_unavailable, :kind_of => [TrueClass, FalseClass], :default => nil
......
......@@ -38,6 +38,7 @@ priority=10
proxy=http://hellothereiamproxystring.biz
proxy_username=kermit
proxy_password=dafrog
repo_gpgcheck=1
retries=10
skip_if_unavailable=1
sslcacert=/path/to/directory
......
......@@ -81,6 +81,9 @@ username=<%= @config.username %>
<% if @config.password %>
password=<%= @config.password %>
<% end %>
<% if @config.repo_gpgcheck %>
repo_gpgcheck=1
<% end %>
<% if @config.max_retries %>
retries=<%= @config.max_retries %>
<% end %>
......
......@@ -24,6 +24,7 @@ yum_repository 'test2' do
proxy 'http://hellothereiamproxystring.biz'
proxy_username 'kermit'
proxy_password 'dafrog'
repo_gpgcheck true
report_instanceid false
repositoryid 'unit-test-2'
skip_if_unavailable true
......
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