lib/specinfra/helper/detect_os/debian.rb in specinfra-2.3.2 vs lib/specinfra/helper/detect_os/debian.rb in specinfra-2.4.0
- old
+ new
@@ -18,9 +18,9 @@
end
end
end
distro ||= 'debian'
release ||= nil
- { :family => distro.strip.downcase, :release => release }
+ { :family => distro.gsub(/\p{^Alnum}/, '').downcase, :release => release }
end
end
end