Sha256: ef29189a8b398c1b1b4ee89d458efe76b4967eb7e1d08892ccabdb4ff52b2112
Contents?: true
Size: 387 Bytes
Versions: 46
Compression:
Stored size: 387 Bytes
Contents
Facter.add(:corl_network) do confine :kernel => :linux # TODO: Extend this to work with more systems setcode do require 'corl' network_path = '/var/corl' CORL.exec(:network_location) do |op, results| if op == :process network_path = results unless results.nil? || ! File.directory?(results) end end network_path end end
Version data entries
46 entries across 46 versions & 1 rubygems