Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 5bd5253

Browse files
committed
(maint) Use plain version range
Previously the Puppet dependency used the `=<version>` restriction however older versions of vendored semantic_puppet considered this invalid. Instead the plain version string format is used `<version>`
1 parent 0a9f76a commit 5bd5253

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/puppetfile-resolver/resolver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def dependencies_from_puppetfile
6969
if @puppet_version.nil?
7070
result << Models::PuppetDependency.new('>= 0')
7171
else
72-
result << Models::PuppetDependency.new("=#{@puppet_version}")
72+
result << Models::PuppetDependency.new(@puppet_version.to_s)
7373
end
7474
result
7575
end

0 commit comments

Comments
 (0)