Sha256: a5e8a16daf5b55e0e5ac43ac53eaa9f48a008cf3bcf7c172c6444aeab168f00c

Contents?: true

Size: 222 Bytes

Versions: 42

Compression:

Stored size: 222 Bytes

Contents

module Specinfra
  class HostInventory
    class Hostname
      def self.get
        cmd = Specinfra.command.get(:get_inventory_hostname)
        Specinfra.backend.run_command(cmd).stdout.strip
      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
specinfra-2.23.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.22.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.21.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.21.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.20.2 lib/specinfra/host_inventory/hostname.rb
specinfra-2.20.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.20.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.19.6 lib/specinfra/host_inventory/hostname.rb
specinfra-2.19.5 lib/specinfra/host_inventory/hostname.rb
specinfra-2.19.4 lib/specinfra/host_inventory/hostname.rb
specinfra-2.19.3 lib/specinfra/host_inventory/hostname.rb
specinfra-2.19.2 lib/specinfra/host_inventory/hostname.rb
specinfra-2.19.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.19.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.18.3 lib/specinfra/host_inventory/hostname.rb
specinfra-2.18.2 lib/specinfra/host_inventory/hostname.rb
specinfra-2.18.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.18.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.17.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.17.0 lib/specinfra/host_inventory/hostname.rb