From d09c20fc07efb87cffcbac467f189e312eb67e9e Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 19 Oct 2007 15:05:49 -0400 Subject: Make RPMs backup the old config, migrate, and conditionally restart the service to make upgrades seamless. --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 87fcd39..d064388 100644 --- a/setup.py +++ b/setup.py @@ -14,6 +14,7 @@ if __name__ == "__main__": # docspath="share/doc/koan-%s/" % VERSION manpath = "share/man/man1/" cobpath = "/var/lib/cobbler/" + backpath = "/var/lib/cobbler/backup/" etcpath = "/etc/cobbler/" wwwconf = "/etc/httpd/conf.d/" wwwpath = "/var/www/cobbler/" @@ -72,6 +73,9 @@ if __name__ == "__main__": (initpath, ['config/cobblerd']), (cobpath, ['config/settings']), + # backups for upgrades + (backpath, []), + # bootloaders and syslinux support files (cobpath, ['loaders/elilo-3.6-ia64.efi']), (cobpath, ['loaders/menu.c32']), -- cgit