summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser')
-rw-r--r--lib/puppet/parser/interpreter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/parser/interpreter.rb b/lib/puppet/parser/interpreter.rb
index 936bc31eb..59ee43491 100644
--- a/lib/puppet/parser/interpreter.rb
+++ b/lib/puppet/parser/interpreter.rb
@@ -863,7 +863,7 @@ class Puppet::Parser::Interpreter
end
unless ActiveRecord::Base.connected?
- Puppet::Rails.init
+ Puppet::Rails.connect
end
# Fork the storage, since we don't need the client waiting