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.36.2 lib/specinfra/host_inventory/hostname.rb
specinfra-2.36.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.36.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.35.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.35.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.9 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.8 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.7 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.6 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.5 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.4 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.3 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.2 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.34.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.33.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.33.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.32.0 lib/specinfra/host_inventory/hostname.rb
specinfra-2.31.1 lib/specinfra/host_inventory/hostname.rb
specinfra-2.31.0 lib/specinfra/host_inventory/hostname.rb