File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,13 @@ Valid values: YUM_BOOLEAN, absent
130130Whether yum will allow the use of package groups for this
131131repository.
132132
133+ ##### ` module_hotfixes `
134+
135+ Valid values: YUM_BOOLEAN, absent
136+
137+ To make the system use packages from a repository regardless of
138+ their modularity, specify module_hotfixes=true in the .repo file.
139+
133140##### ` failovermethod `
134141
135142Valid values: %r{^roundrobin|priority$}, absent
Original file line number Diff line number Diff line change 204204 munge ( &munge_yum_bool )
205205 end
206206
207+ newproperty ( :module_hotfixes ) do
208+ desc "Whether packages from this repo can be installed into modules.
209+ #{ YUM_BOOLEAN_DOC }
210+ #{ ABSENT_DOC } "
211+
212+ newvalues ( YUM_BOOLEAN , :absent )
213+ munge ( &munge_yum_bool )
214+ end
215+
207216 newproperty ( :failovermethod ) do
208217 desc "The failover method for this repository; should be either
209218 `roundrobin` or `priority`. #{ ABSENT_DOC } "
Original file line number Diff line number Diff line change 222222 it_behaves_like 'a yumrepo parameter that can be absent' , :enablegroups
223223 end
224224
225+ describe 'module_hotfixes' do
226+ it_behaves_like 'a yumrepo parameter that expects a boolean parameter' , :module_hotfixes
227+ it_behaves_like 'a yumrepo parameter that can be absent' , :module_hotfixes
228+ end
229+
225230 describe 'failovermethod' do
226231 [ 'roundrobin' , 'priority' ] . each do |value |
227232 it "accepts a value of #{ value } " do
You can’t perform that action at this time.
0 commit comments