Sha256: c3c615fc0a9f1b0fca157fddcb40b37475a38e18a85f11a67bd15bd4f02e012e

Contents?: true

Size: 191 Bytes

Versions: 14

Compression:

Stored size: 191 Bytes

Contents

# A module to return config related data
#
module Facter::Util::Config
  require 'rbconfig'

  def self.is_windows?
    Config::CONFIG['host_os'] =~ /mswin|win32|dos|mingw|cygwin/i
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
supply_drop-0.11.0 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.10.2 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.10.1 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.10.0 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.9.0 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.8.1 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.8.0 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.7.0 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.6.1 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
supply_drop-0.6.0 examples/vendored-puppet/vendor/facter-1.6.4/lib/facter/util/config.rb
facter-1.6.4 lib/facter/util/config.rb
facter-1.6.3 lib/facter/util/config.rb
facter-1.6.2 lib/facter/util/config.rb
facter-1.6.1 lib/facter/util/config.rb