~gandelman-a/ubuntu/precise/facter/merge922788

« back to all changes in this revision

Viewing changes to lib/facter/path.rb

  • Committer: Package Import Robot
  • Author(s): Adam Gandelman
  • Date: 2011-10-18 10:32:42 UTC
  • mfrom: (1.3.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: package-import@ubuntu.com-20111018103242-ag8i8vejfp8v7b1b
Tags: upstream-1.6.1
ImportĀ upstreamĀ versionĀ 1.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Fact: path
 
2
#
 
3
# Purpose: Returns the $PATH variable.
 
4
#
 
5
# Resolution: Gets $PATH from the environment.
 
6
#
 
7
# Caveats:
 
8
#
 
9
 
1
10
Facter.add(:path) do
2
11
    setcode do
3
12
        ENV['PATH']