Sha256: 56521b725dcb02c68f8a3147d6de9782ea1f31e0fba1ecf0e482236b8de850b2

Contents?: true

Size: 460 Bytes

Versions: 8

Compression:

Stored size: 460 Bytes

Contents

module VagrantPlugins
  module HostArch
    module Cap
      class NFS
        def self.nfs_check_command(env)
          return "/usr/sbin/systemctl status --no-pager nfs-server.service"
        end

        def self.nfs_start_command(env)
          return "/usr/sbin/systemctl start nfs-server.service"
        end

        def self.nfs_installed(environment)
          Kernel.system("grep -Fq nfsd /proc/filesystems")
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/hosts/arch/cap/nfs.rb
vagrant-compose-yaml-0.1.2 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/hosts/arch/cap/nfs.rb
vagrant-compose-yaml-0.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/hosts/arch/cap/nfs.rb
vagrant-compose-yaml-0.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/vagrant-dbb756c7b6da/plugins/hosts/arch/cap/nfs.rb
vagrant-unbundled-1.8.5.2 plugins/hosts/arch/cap/nfs.rb
vagrant-unbundled-1.8.5.1 plugins/hosts/arch/cap/nfs.rb
vagrant-unbundled-1.8.4.2 plugins/hosts/arch/cap/nfs.rb
vagrant-unbundled-1.8.4.1 plugins/hosts/arch/cap/nfs.rb