Class: Serverspec::Type::Zfs
- Inherits:
-
Base
- Object
- Base
- Serverspec::Type::Zfs
show all
- Defined in:
- lib/serverspec/type/zfs.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#exists? ⇒ Boolean
4
5
6
|
# File 'lib/serverspec/type/zfs.rb', line 4
def exists?
backend.check_zfs(@name)
end
|
#has_property?(property) ⇒ Boolean
8
9
10
|
# File 'lib/serverspec/type/zfs.rb', line 8
def has_property?(property)
backend.check_zfs(@name, property)
end
|
#to_s ⇒ Object
12
13
14
|
# File 'lib/serverspec/type/zfs.rb', line 12
def to_s
'ZFS'
end
|