We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
distro
release
1 parent 625c58d commit 4ac9725Copy full SHA for 4ac9725
lib/puppet/type/yumrepo.rb
@@ -324,7 +324,7 @@
324
newvalues(%r{.*}, :absent)
325
validate do |value|
326
next if %r{^(absent|_none_)$}.match?(value.to_s)
327
- next if value.to_s.empty? && Facter.value('os.distro.release.major').to_i >= 8
+ next if value.to_s.empty? && Facter.value('os.release.major').to_i >= 8
328
329
parsed = URI.parse(value)
330
unless VALID_SCHEMES.include?(parsed.scheme)
0 commit comments