summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/interpreter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/interpreter.rb')
-rw-r--r--lib/puppet/parser/interpreter.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb
index 3a719e03c..f595c03a2 100644
--- a/lib/puppet/parser/interpreter.rb
+++ b/lib/puppet/parser/interpreter.rb
@@ -810,6 +810,8 @@ class Puppet::Parser::Interpreter
unless ActiveRecord::Base.connected?
Puppet::Rails.connect
+ else
+ Puppet.warning "Already connected"
end
# Fork the storage, since we don't need the client waiting