lib/knife-solo/bootstraps/darwin.rb in knife-solo-0.5.1 vs lib/knife-solo/bootstraps/darwin.rb in knife-solo-0.6.0
- old
+ new
@@ -5,10 +5,10 @@
@issue ||= run_command("sw_vers -productVersion").stdout.strip
end
def distro
case issue
- when %r{10.[6-9]}
+ when %r{10.(?:[6-9]|10)}
{:type => 'omnibus'}
else
raise "OS X version #{issue} not supported"
end
end