If storing configs in a mysql database and you're mysql socket location is in a different path than /tmp/mysql.sock puppetmastered will fail to start with a configstored-configured. The following two patches enables the possiblity to set the socket within the config:
--- configuration.rb_old 2007-11-01 17:40:06.000000000 +0100
+++ configuration.rb 2007-11-01 17:42:06.000000000 +0100
@@ -512,6 +512,8 @@
used when networked databases are used."],
:dbpassword => [ "puppet", "The database password for Client caching. Only
used when networked databases are used."],
+ :dbsocket => [ "/tmp/mysql.sock", "The database socket location. Only used when networked
+ databases are used."],
:railslog => {:default => "$logdir/rails.log",
:mode => 0600,
:owner => "$user",
--- rails.rb_old 2007-11-01 17:34:15.000000000 +0100
+++ rails.rb 2007-11-01 17:43:48.000000000 +0100
@@ -45,6 +45,7 @@
args[:username] = Puppet[:dbuser]
args[:password] = Puppet[:dbpassword]
args[:database] = Puppet[:dbname]
+ args[:socket] = Puppet[:dbsocket]
else
raise ArgumentError, "Invalid db adapter %s" % Puppet[:dbadapter]
end
Tested and used on a gentoo system with puppet 0.23.2