Sha256: 3a798247224de767d53205c740e48544fca78f8340e2cd45e7222d748bb0b854

Contents?: true

Size: 270 Bytes

Versions: 14

Compression:

Stored size: 270 Bytes

Contents

module Serverspec
  module Type
    class Zfs < Base
      def exists?
        backend.check_zfs(nil, @name)
      end

      def has_property?(property)
        backend.check_zfs(nil, @name, property)
      end

      def to_s
        'ZFS'
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
serverspec-0.5.3 lib/serverspec/type/zfs.rb
serverspec-0.5.2 lib/serverspec/type/zfs.rb
serverspec-0.5.1 lib/serverspec/type/zfs.rb
serverspec-0.5.0 lib/serverspec/type/zfs.rb
serverspec-0.4.14 lib/serverspec/type/zfs.rb
serverspec-0.4.13 lib/serverspec/type/zfs.rb
serverspec-0.4.12 lib/serverspec/type/zfs.rb
serverspec-0.4.11 lib/serverspec/type/zfs.rb
serverspec-0.4.10 lib/serverspec/type/zfs.rb
serverspec-0.4.9 lib/serverspec/type/zfs.rb
serverspec-0.4.8 lib/serverspec/type/zfs.rb
serverspec-0.4.7 lib/serverspec/type/zfs.rb
serverspec-0.4.6 lib/serverspec/type/zfs.rb
serverspec-0.4.5 lib/serverspec/type/zfs.rb