summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Client/Tools/Blast.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/Blast.py b/src/lib/Client/Tools/Blast.py
index 6133ab2c1..b4f00db6c 100644
--- a/src/lib/Client/Tools/Blast.py
+++ b/src/lib/Client/Tools/Blast.py
@@ -12,6 +12,15 @@ class Blast(Bcfg2.Client.Tools.SYSV.SYSV):
__execs__ = ['/opt/csw/bin/pkg-get']
__handles__ = [('Package', 'blast')]
+ def __init__(self, logger, setup, config, states):
+ # dont use the sysv constructor
+ Bcfg2.Client.Tools.PkgTool.__init__(self, logger, setup, config, states)
+ self.noaskname = tempfile.mktemp()
+ try:
+ open(self.noaskname, 'w+').write(Bcfg2.Client.Tools.SYSV.noask)
+ except:
+ pass
+
# VerifyPackage comes from Bcfg2.Client.Tools.SYSV
# Install comes from Bcfg2.Client.Tools.PkgTool
# Extra comes from Bcfg2.Client.Tools.Tool