Sha256: 5d0b3d8a591b864063239af133e71018958284c3938306ce0f68f02232b0d309
Contents?: true
Size: 655 Bytes
Versions: 13
Compression:
Stored size: 655 Bytes
Contents
require "pathname" require "vagrant" require Vagrant.source_root.join("plugins/hosts/linux/host") module VagrantPlugins module HostOpenSUSE class Host < VagrantPlugins::HostLinux::Host def self.match? release_file = Pathname.new("/etc/SuSE-release") if release_file.exist? release_file.open("r") do |f| return true if f.gets =~ /^openSUSE/ end end false end # Normal, mid-range precedence. def self.precedence 5 end def initialize(*args) super @nfs_server_binary = "/etc/init.d/nfsserver" end end end end
Version data entries
13 entries across 13 versions & 5 rubygems