diff options
Diffstat (limited to 'lib/puppet.rb')
-rw-r--r-- | lib/puppet.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet.rb b/lib/puppet.rb index fbf5ccf73..d09c81801 100644 --- a/lib/puppet.rb +++ b/lib/puppet.rb @@ -138,8 +138,7 @@ module Puppet elsif FileTest.directory?(File.join(path)) next else FileTest.exist?(File.join(path)) - raise Puppet::Error, "Cannot create %s: basedir %s is a file" % - [dir, File.join(path)] + raise Puppet::Error, "Cannot create %s: basedir %s is a file" % [dir, File.join(path)] end } return true |