summaryrefslogtreecommitdiffstats
path: root/roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-06-03 21:13:10 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:54:20 +0200
commit00d6d904dc26592553ba93710c205603757e3faf (patch)
tree09ce9d1f3257da4303362317b04a596f4e0df741 /roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2
parentab03c7c75d91667dbc30f9ce1f66fe343fb9f93b (diff)
Configure Bacula File Daemon / Storage Daemon / Director.
Using client-side data signing/encryption and wrapping inter-host communication into stunnel.
Diffstat (limited to 'roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2')
-rw-r--r--roles/bacula-dir/templates/etc/bacula/bconsole.conf.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2 b/roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2
new file mode 100644
index 0000000..e7f2726
--- /dev/null
+++ b/roles/bacula-dir/templates/etc/bacula/bconsole.conf.j2
@@ -0,0 +1,10 @@
+#
+# Bacula User Agent (or Console) Configuration File
+#
+
+Director {
+ Name = {{ inventory_hostname_short }}-dir
+ DirPort = 9101
+ Address = 127.0.0.1
+ @|"sed -n '/^bconsole\\s/ {s//Password = /p; q}' /etc/bacula/passwords-dir"
+}