From 3e198f23f26255bfe6cf3cff1799cf7b74ee373b Mon Sep 17 00:00:00 2001 From: Lukas Bezdicka Date: Tue, 17 Jun 2014 17:19:47 +0200 Subject: [PATCH] Ensure qpid persistent data uses correct path Path for data-dir is modifiable and by default points to /var/lib/qpidd --- manifests/server.pp | 1 + templates/qpidd.conf.erb | 1 + 2 files changed, 2 insertions(+) diff --git a/manifests/server.pp b/manifests/server.pp index c41cc9a..25e889a 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -18,6 +18,7 @@ $log_to_file = 'UNSET', $clustered = false, $cluster_mechanism = 'ANONYMOUS', + $data_dir = '/var/lib/qpidd', $ssl = false, $ssl_package_name = 'qpid-cpp-server-ssl', $ssl_package_ensure = present, diff --git a/templates/qpidd.conf.erb b/templates/qpidd.conf.erb index c886c07..a8e889f 100644 --- a/templates/qpidd.conf.erb +++ b/templates/qpidd.conf.erb @@ -11,6 +11,7 @@ worker-threads=<%= @worker_threads %> connection-backlog=<%= @connection_backlog %> auth=<%= @auth %> realm=<%= @realm %> +data-dir=<% @data_dir %> <% if @clustered == true %> <%= @mechanism_option %>=<%= @cluster_mechanism %> <% end %>