2014-01-08 05:11:59 +00:00
|
|
|
module VagrantPlugins
|
2014-09-11 08:48:58 +00:00
|
|
|
module HostSUSE
|
2014-01-08 05:11:59 +00:00
|
|
|
module Cap
|
|
|
|
class NFS
|
2014-10-06 14:32:00 +00:00
|
|
|
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)
|
2015-09-10 08:05:14 +00:00
|
|
|
"/sbin/service nfsserver status"
|
2014-01-08 05:11:59 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def self.nfs_start_command(env)
|
2014-02-03 11:18:09 +00:00
|
|
|
"/sbin/service nfsserver start"
|
2014-01-08 05:11:59 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|