summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/log_paths.rb
blob: 1a6bafc45343cd094eb6e07dc3b8931be978dd6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#  Created by Luke Kanies on 2007-07-04.
#  Copyright (c) 2007. All rights reserved.

module Puppet::Util::LogPaths
    # return the full path to us, for logging and rollback
    # some classes (e.g., FileTypeRecords) will have to override this
    def path
        unless defined? @path
            @path = pathbuilder
        end

        return "/" + @path.join("/")
    end
end