summaryrefslogtreecommitdiffstats
path: root/lib/facter/path.rb
blob: 71df6cdf53cd1f1a5d4eb1520d014710f5fcfa96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Fact: path
#
# Purpose: Returns the $PATH variable.
#
# Resolution: Gets $PATH from the environment.
#
# Caveats:
#

Facter.add(:path) do
    setcode do
        ENV['PATH']
    end
end