summaryrefslogtreecommitdiffstats
path: root/tools/hostbasepush.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hostbasepush.py')
-rwxr-xr-xtools/hostbasepush.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/hostbasepush.py b/tools/hostbasepush.py
deleted file mode 100755
index 02b7a582f..000000000
--- a/tools/hostbasepush.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/python
-
-import os
-import Bcfg2.Client.Proxy
-
-if not os.getuid() == 0:
- print("this command must be run as root")
- raise SystemExit
-
-proxy = Bcfg2.Client.Proxy.bcfg2()
-print("building files...")
-proxy.run_method('Hostbase.rebuildState', ())
-print("running bcfg...")
-os.system('bcfg2 -q -d -v')