Sha256: 693d4782f3a3de22ca6b409f8a600fa66bbda5cf2180c3f961ae653c723ea9f2

Contents?: true

Size: 212 Bytes

Versions: 40

Compression:

Stored size: 212 Bytes

Contents

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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
specinfra-2.30.4 lib/specinfra/host_inventory/hostname.rb
specinfra-2.30.3 lib/specinfra/host_inventory/hostname.rb
specinfra-2.30.2 lib/specinfra/host_inventory/hostname.rb
specinfra-2.30.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.30.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.29.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.28.4 lib/specinfra/host_inventory/hostname.rb
specinfra-2.28.3 lib/specinfra/host_inventory/hostname.rb
specinfra-2.28.2 lib/specinfra/host_inventory/hostname.rb
specinfra-2.28.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.28.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.27.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.27.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.26.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.26.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.25.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.25.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.24.2 lib/specinfra/host_inventory/hostname.rb
specinfra-2.24.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.24.0 lib/specinfra/host_inventory/hostname.rb