Sha256: 9594912f3e67d0817b6386586e3f3cc96e9c39d73968f6d540849c8114ad8830
Contents?: true
Size: 511 Bytes
Versions: 4
Compression:
Stored size: 511 Bytes
Contents
module Serverspec module Helper [ 'DetectOS', 'AIX', 'Arch', 'Darwin', 'Debian', 'Fedora', 'FreeBSD', 'FreeBSD10', 'Gentoo', 'Plamo', 'RedHat', 'RedHat7', 'SmartOS', 'Solaris', 'Solaris10', 'Solaris11', 'Windows', ].each do |os| eval <<-EOF module #{os} include self.class.const_get('SpecInfra').const_get('Helper').const_get('#{os}') end EOF end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
serverspec-1.7.1 | lib/serverspec/helper/os.rb |
serverspec-1.7.0 | lib/serverspec/helper/os.rb |
serverspec-1.6.0 | lib/serverspec/helper/os.rb |
serverspec-1.5.0 | lib/serverspec/helper/os.rb |