diff options
Diffstat (limited to 'lib/puppet/util/log_paths.rb')
-rw-r--r-- | lib/puppet/util/log_paths.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/puppet/util/log_paths.rb b/lib/puppet/util/log_paths.rb index b5bdc50de..3132238e2 100644 --- a/lib/puppet/util/log_paths.rb +++ b/lib/puppet/util/log_paths.rb @@ -5,9 +5,7 @@ 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 + @path = pathbuilder unless defined?(@path) return "/" + @path.join("/") end |