summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-07-23 12:04:46 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-07-23 12:04:46 -0400
commitdfff97d5b6cddaa66150ebf9e9c862ddc64fefc7 (patch)
tree0622c970257812857e03b81216ab338382139182
parent13faf52cb2f6fce533bdc0d4ef1e0166b4273eb7 (diff)
downloadcobbler-dfff97d5b6cddaa66150ebf9e9c862ddc64fefc7.tar.gz
cobbler-dfff97d5b6cddaa66150ebf9e9c862ddc64fefc7.tar.xz
cobbler-dfff97d5b6cddaa66150ebf9e9c862ddc64fefc7.zip
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.
-rw-r--r--MANIFEST.in1
-rw-r--r--Makefile3
-rw-r--r--setup.py1
3 files changed, 5 insertions, 0 deletions
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']),