Sha256: 7f57bd3f9129ed12487f80a51f26a0a8679c28519c1e2c4a33da025581d3d650

Contents?: true

Size: 305 Bytes

Versions: 221

Compression:

Stored size: 305 Bytes

Contents

module Specinfra
  class HostInventory
    class Fqdn < Base
      def get
        cmd = backend.command.get(:get_inventory_fqdn)
        result = backend.run_command(cmd)

        if result.exit_status == 0
          result.stdout.strip
        else
          nil
        end
      end
    end
  end
end

Version data entries

221 entries across 221 versions & 3 rubygems

Version Path
specinfra-2.46.0 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.45.0 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.8 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.7 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.6 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.5 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.4 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.3 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.2 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.1 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.44.0 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.43.11 lib/specinfra/host_inventory/fqdn.rb
specinfra-cisco-2.40.2 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.43.10 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.43.9 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.43.8 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.43.7 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.43.6 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.43.5 lib/specinfra/host_inventory/fqdn.rb
specinfra-2.43.4 lib/specinfra/host_inventory/fqdn.rb