Class: Specinfra::Helper::DetectOs

Inherits:
Object
  • Object
show all
Defined in:
lib/specinfra/helper/detect_os.rb

Direct Known Subclasses

Aix, Arch, Darwin, Debian, Freebsd, Gentoo, Nixos, Openbsd, Plamo, Redhat, Solaris, Suse

Defined Under Namespace

Classes: Aix, Arch, Darwin, Debian, Freebsd, Gentoo, Nixos, Openbsd, Plamo, Redhat, Solaris, Suse

Class Method Summary collapse

Class Method Details

.run_command(cmd) ⇒ Object



3
4
5
# File 'lib/specinfra/helper/detect_os.rb', line 3

def self.run_command(cmd)
  Specinfra.backend.run_command(cmd)
end