available?()
click to toggle source
def self.available?
!self.list.empty?
end
filesystem(partition)
click to toggle source
def self.filesystem(partition)
implementation.filesystem(partition)
end
implementation()
click to toggle source
def self.implementation
IMPLEMENTATIONS[Facter.fact(:kernel).value] || NoImplementation
end
label(partition)
click to toggle source
def self.label(partition)
implementation.label(partition)
end
list()
click to toggle source
def self.list
implementation.list
end
mount(partition)
click to toggle source
def self.mount(partition)
implementation.mount(partition)
end
size(partition)
click to toggle source
def self.size(partition)
implementation.size(partition)
end
uuid(partition)
click to toggle source
def self.uuid(partition)
implementation.uuid(partition)
end