vagrant/plugins/hosts/suse/cap/nfs.rb

20 lines
416 B
Ruby
Raw Normal View History

2014-01-08 05:11:59 +00:00
module VagrantPlugins
module HostSUSE
2014-01-08 05:11:59 +00:00
module Cap
class NFS
def self.nfs_installed(env)
system("rpm -q nfs-kernel-server > /dev/null 2>&1")
end
2014-01-08 05:11:59 +00:00
def self.nfs_check_command(env)
"systemctl status --no-pager nfs-server"
2014-01-08 05:11:59 +00:00
end
def self.nfs_start_command(env)
"systemctl start --no-pager nfs-server"
2014-01-08 05:11:59 +00:00
end
end
end
end
end