diff options
author | James Turnbull <james@lovedthanlost.net> | 2009-07-15 08:30:34 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-07-16 21:10:58 +1000 |
commit | 6c9fec53138da877605f8f658ed0f5730ccd6743 (patch) | |
tree | c08d2c08001cc0fd01ad1ce36965a1b01c75632d /lib/facter/path.rb | |
parent | 51c6e3da4b6f3f65aa0f1acc8bfddf383ff00036 (diff) | |
download | facter-6c9fec53138da877605f8f658ed0f5730ccd6743.tar.gz facter-6c9fec53138da877605f8f658ed0f5730ccd6743.tar.xz facter-6c9fec53138da877605f8f658ed0f5730ccd6743.zip |
Added path fact
Diffstat (limited to 'lib/facter/path.rb')
-rw-r--r-- | lib/facter/path.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/facter/path.rb b/lib/facter/path.rb new file mode 100644 index 0000000..03907c0 --- /dev/null +++ b/lib/facter/path.rb @@ -0,0 +1,5 @@ +Facter.add(:path) do + setcode do + ENV['PATH'] + end +end |