Merge pull request #6711 from mitchellh/sethvargo/v_string
Convert Chef Version to a string before comparison
This commit is contained in:
commit
2fb0d5d894
@ -50,7 +50,7 @@ module VagrantPlugins
|
|||||||
args << " --log_level #{config.log_level}" if config.log_level
|
args << " --log_level #{config.log_level}" if config.log_level
|
||||||
args << " --no-color" if !options[:colored]
|
args << " --no-color" if !options[:colored]
|
||||||
|
|
||||||
if config.install && (config.version == :latest || config.version >= "11.0")
|
if config.install && (config.version == :latest || config.version.to_s >= "11.0")
|
||||||
args << " --force-formatter"
|
args << " --force-formatter"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user