Gitlab Community Edition Instance

Skip to content
Snippets Groups Projects
Commit 7d73221f authored by Benedikt Wegmann's avatar Benedikt Wegmann
Browse files

lib/facter/nfs_version.rb: NFS-Version ermitteln, Beschreibung

parent 849d8864
No related branches found
No related tags found
No related merge requests found
#
# nfs_versions.rb
#
# This fact provides ...
# This fact provides information about the NFS protocol in use.
#
$nfs3 = false
......@@ -13,7 +13,6 @@ if Facter.value(:kernel) == 'Linux'
ENV['LC_ALL'] = 'C'
Facter::Util::Resolution.exec('/bin/cat /proc/net/rpc/nfs').each_line do |line|
if line.match(/^proc3.+/)
$nfs3 = true
elsif line.match(/^proc4.+/)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment