From fd6c2a2a60a6534a8f03591d9e308ace19ef90e1 Mon Sep 17 00:00:00 2001 From: Ken Barber Date: Thu, 6 Nov 2014 14:15:06 +0000 Subject: [PATCH] (maint) Correct path for hsqldb storage For some reasons we switched this to use /usr/share/puppetdb/db, which has a softlink to /var/lib/puppetdb/db. This is not aligned with the PuppetDB core nor is it following FHS. Signed-off-by: Ken Barber --- manifests/params.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/params.pp b/manifests/params.pp index 2228a8d..7407893 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -109,12 +109,12 @@ class puppetdb::params { 'RedHat', 'Suse', 'Archlinux': { $puppetdb_initconf = '/etc/sysconfig/puppetdb' $puppet_service_name = 'puppetmaster' - $embedded_subname = 'file:/usr/share/puppetdb/db/db;hsqldb.tx=mvcc;sql.syntax_pgs=true' + $embedded_subname = 'file:/var/lib/puppetdb/db/db;hsqldb.tx=mvcc;sql.syntax_pgs=true' } 'Debian': { $puppetdb_initconf = '/etc/default/puppetdb' $puppet_service_name = 'puppetmaster' - $embedded_subname = 'file:/usr/share/puppetdb/db/db;hsqldb.tx=mvcc;sql.syntax_pgs=true' + $embedded_subname = 'file:/var/lib/puppetdb/db/db;hsqldb.tx=mvcc;sql.syntax_pgs=true' } 'OpenBSD': { $puppetdb_initconf = undef