diff options
author | Markus Roberts <Markus@reality.com> | 2010-11-02 11:10:33 -0700 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-11-10 15:29:13 -0800 |
commit | 5f7d0fbb3699cba28d10adac62c69aedfce2df38 (patch) | |
tree | 0db3a42023237180b3b295db83773d6e751075e8 /lib/puppet/defaults.rb | |
parent | ba4d22bce3fbb7af3bef50088623605350a9891e (diff) | |
download | puppet-5f7d0fbb3699cba28d10adac62c69aedfce2df38.tar.gz puppet-5f7d0fbb3699cba28d10adac62c69aedfce2df38.tar.xz puppet-5f7d0fbb3699cba28d10adac62c69aedfce2df38.zip |
Fix for #2568 -- Add a dbconnections option to set AR pool size
The dbconnection option, if set to a positive integer, will be passed to
active record as the connection pool size (pool).
Diffstat (limited to 'lib/puppet/defaults.rb')
-rw-r--r-- | lib/puppet/defaults.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/defaults.rb b/lib/puppet/defaults.rb index 72b1af188..b8437fe29 100644 --- a/lib/puppet/defaults.rb +++ b/lib/puppet/defaults.rb @@ -663,6 +663,8 @@ module Puppet used when networked databases are used."], :dbpassword => [ "puppet", "The database password for caching. Only used when networked databases are used."], + :dbconnections => [ '', "The number of database connections for networked + databases. Will be ignored unless the value is a positive integer."], :dbsocket => [ "", "The database socket location. Only used when networked databases are used. Will be ignored if the value is an empty string."], :railslog => {:default => "$logdir/rails.log", |