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.
1 parent b9bed77 commit 839a1c0Copy full SHA for 839a1c0
lib/puppet/provider/package/openbsd.rb
@@ -91,7 +91,7 @@ def latest
91
return match[2]
92
end
93
94
- vcmp = properties[:ensure].split('.').map { &:to_i } <=> match[2].split('.').map { &:to_i }
+ vcmp = properties[:ensure].split('.').map { |s|s.to_i } <=> match[2].split('.').map { |s|s.to_i }
95
if vcmp > 0
96
# The locally installed package may actually be newer than what a mirror
97
# has. Log it at debug, but ignore it otherwise.
0 commit comments