change the shell provision config to make all the args strings

specifically arrays could contain `Fixnum` args and those wouldn't get turned into strings.
This commit is contained in:
Ben Dean 2014-07-11 17:09:31 -04:00
parent 7dc0e4340e
commit dbb92ae412
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ module VagrantPlugins
@binary = false if @binary == UNSET_VALUE
@keep_color = false if @keep_color == UNSET_VALUE
if @args && !@args.is_a?(Array) && args_valid?
@args = @args.to_s
if @args && args_valid?
@args = @args.is_a?(Array) ? @args.map { |a| a.to_s } : @args.to_s
end
end