summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2011-08-08 00:22:23 +0200
committermh <mh@immerda.ch>2011-08-08 00:22:23 +0200
commitabc6919245bca4c1965376fec4744df2329211a5 (patch)
tree913d7db03ace007d6247efab19c5fdeb778dd885 /lib
parent0b59b4e84c8d3d2244294e625f0b916709959e28 (diff)
wording
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/util/trocla_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/util/trocla_helper.rb b/lib/puppet/util/trocla_helper.rb
index ea4edee..374d538 100644
--- a/lib/puppet/util/trocla_helper.rb
+++ b/lib/puppet/util/trocla_helper.rb
@@ -17,9 +17,9 @@ module Puppet::Util::TroclaHelper
format = args[1] || 'plain'
options = args[2] || {}
- configfile = File.join(File.dirname(Puppet.settings[:config]), "troclarc.yaml")
+ configfile = File.join(File.dirname(Puppet.settings[:config]), 'troclarc.yaml')
- raise(Puppet::ParseError, "Trocla config file #{configfile} not readable") unless File.exist?(configfile)
+ raise(Puppet::ParseError, "Trocla config file #{configfile} is not readable") unless File.exist?(configfile)
raise(Puppet::ParseError, "You need rubygems to use Trocla") unless Puppet.features.rubygems?
require 'rubygems'