Sha256: 4b86fabc412e0681bd270ef42e32fce39c4e3a9dcf97259efb28feb9d29a820d
Contents?: true
Size: 699 Bytes
Versions: 2
Compression:
Stored size: 699 Bytes
Contents
require 'boris/profiles/windows_core' module Boris; module Profiles; module Windows module Windows2008 include Windows def self.connection_type Windows.connection_type end def self.matches_target?(connector) return true if connector.value_at('SELECT Name FROM Win32_OperatingSystem')[:name] =~ /2008/ end def get_operating_system super # grab the 'features' from win2008 servers, as it's only available on this version # and already deprecated as of win2012 @operating_system[:features] = @connector.values_at('SELECT Name FROM Win32_ServerFeature').map {|f| f[:name]} end end end; end; end
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
boris-1.0.0.beta.1 | ./lib/boris/profiles/windows/windows2008.rb |
boris-1.0.0.beta.1 | lib/boris/profiles/windows/windows2008.rb |