bareos: bareos-17.2 67736264

Author Committer Branch Timestamp Parent
joergs joergs bareos-17.2 2017-09-13 23:31 bareos-17.2 9eea8c56 Pending
Changeset Adapt handling of configtemplatedir

This affects
bareos-config deploy_config
used by Debian/Ubuntu and MacOS X packages.

Debian has used configtemplatedir before, however using a different
approach.

Now you can specify two things using configure:

  * configure --with-confdir=CONFIG_PATH
    * where the Bareos programs will look for there configuration

  * configure --with-configtemplatedir=INSTALL_PATH
    * where "make install" will copy the configuration files (which can
      also be templates)
    * when not specified, it is set to confdir.

Calling

bareos-config deploy_config "INSTALL_PATH" "CONFIG_PATH" "COMPONENT"

eg.
bareos-config deploy_config "/usr/lib/bareos/defaultconfigs/" "/etc/bareos/" "bareos-fd"

will copy the configuration of COMPONENT from "INSTALL_PATH" to "CONFIG_PATH".
No files will be overwritten in "CONFIG_PATH", however, if new files
are added to e.g. /usr/lib/bareos/defaultconfigs/bareos-fd/*/*, these will
also copied to /etc/bareos/bareos-fd.d/ (same behavior as introduced
with bareos-16.2).
mod - autoconf/configure.in Diff File
mod - debian/bareos-bconsole.install.in Diff File
mod - debian/bareos-director.dirs Diff File
mod - debian/bareos-director.install.in Diff File
mod - debian/bareos-director.postinst.in Diff File
mod - debian/bareos-filedaemon-ceph-plugin.install.in Diff File
mod - debian/bareos-filedaemon-glusterfs-plugin.install.in Diff File
mod - debian/bareos-filedaemon-ldap-python-plugin.install.in Diff File
rm - debian/bareos-filedaemon.dirs Diff File
mod - debian/bareos-filedaemon.install.in Diff File
mod - debian/bareos-filedaemon.postinst.in Diff File
mod - debian/bareos-storage-ceph.install.in Diff File
mod - debian/bareos-storage-fifo.install.in Diff File
mod - debian/bareos-storage-glusterfs.install.in Diff File
mod - debian/bareos-storage-tape.install.in Diff File
mod - debian/bareos-storage.dirs Diff File
mod - debian/bareos-storage.install.in Diff File
mod - debian/bareos-storage.postinst.in Diff File
rm - debian/bareos-traymonitor.dirs Diff File
mod - debian/bareos-traymonitor.install.in Diff File
mod - debian/bareos-traymonitor.postinst.in Diff File
mod - scripts/bareos-config-lib.sh.in Diff File
rm - scripts/defaultconfig Diff File
mod - src/console/Makefile.in Diff File
mod - src/dird/Makefile.in Diff File
mod - src/filed/Makefile.in Diff File
mod - src/plugins/filed/Makefile.in Diff File
mod - src/qt-tray-monitor/tray-monitor.pro.in Diff File
mod - src/stored/Makefile.in Diff File
mod - src/stored/backends/Makefile.in Diff File