# File lib/knife-solo/bootstraps.rb, line 16 def self.class_for_operating_system(os_name) begin os_class_name = os_name.gsub(/\s/,'') KnifeSolo::Bootstraps.const_get(os_class_name) rescue raise OperatingSystemNotImplementedError.new("#{os_name.inspect} not implemented. Feel free to add a bootstrap implementation in KnifeSolo::Bootstraps::#{os_class_name}") end end