From dfff97d5b6cddaa66150ebf9e9c862ddc64fefc7 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 23 Jul 2008 12:04:46 -0400 Subject: In-progress work on making bash-completion script not need to run cobbler by teaching it about a much lighter weight script that reads a pre-generated list of options. --- MANIFEST.in | 1 + Makefile | 3 +++ setup.py | 1 + 3 files changed, 5 insertions(+) diff --git a/MANIFEST.in b/MANIFEST.in index 501ff838..ab952513 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -12,6 +12,7 @@ include config/auth.conf include config/settings include config/users.digest include config/users.conf +include config/completions include config/cobbler_bash recursive-include templates *.template recursive-include kickstarts *.ks diff --git a/Makefile b/Makefile index 0089a03d..af8b2ebc 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,9 @@ devinstall: chmod -R +x /var/www/cobbler/web chmod -R +x /var/www/cobbler/svc +completion: + python mkbash.py + webtest: devinstall /sbin/service cobblerd restart /sbin/service httpd restart diff --git a/setup.py b/setup.py index e4ac7d54..26777410 100644 --- a/setup.py +++ b/setup.py @@ -75,6 +75,7 @@ if __name__ == "__main__": (rotpath, ['config/cobblerd_rotate']), (wwwconf, ['config/cobbler.conf']), (wwwconf, ['config/cobbler_svc.conf']), + (cobpath, ['config/completions']), (cobpath, ['config/cobbler_hosts']), (etcpath, ['config/modules.conf']), (etcpath, ['config/users.digest']), -- cgit