Sha256: 7f59040fb9bf0cfac5af3dc69e14d8eacf3c8db95e2845893c42c9739e254e08

Contents?: true

Size: 309 Bytes

Versions: 221

Compression:

Stored size: 309 Bytes

Contents

module Specinfra
  class HostInventory
    class Domain < Base
      def get
        cmd = backend.command.get(:get_inventory_domain)
        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.37.4 lib/specinfra/host_inventory/domain.rb
specinfra-2.37.3 lib/specinfra/host_inventory/domain.rb
specinfra-2.37.2 lib/specinfra/host_inventory/domain.rb
specinfra-2.37.1 lib/specinfra/host_inventory/domain.rb
specinfra-2.37.0 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.18 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.17 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.16 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.15 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.14 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.13 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.12 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.11 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.10 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.9 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.8 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.7 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.6 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.5 lib/specinfra/host_inventory/domain.rb
specinfra-2.36.4 lib/specinfra/host_inventory/domain.rb