Skip to content

Commit 958e40c

Browse files
authored
Merge pull request #336 from mwpower/chain_comparison
Change latest/current comparison to account for chains
2 parents 9a3e3bc + c039dba commit 958e40c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/type/java_ks.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def insync?(is)
3333
return true if is == :absent
3434
when :latest
3535
unless is == :absent
36-
return true if provider.latest == provider.current
36+
return true if provider.latest.include? provider.current
3737
end
3838
end
3939
end

0 commit comments

Comments
 (0)