Package ZenUtils :: Module zenpack :: Class ZenPackCmd
[hide private]
[frames] | no frames]

Class ZenPackCmd

source code

Products.ZenUtils.ZenScriptBase.ZenScriptBase --+
                                                |
                                               ZenPackCmd

Manage ZenPacks

Instance Methods [hide private]
 
run(self)
Execute the user's request
source code
 
preInstallCheck(self)
Check that prerequisite zenpacks are installed.
source code
 
install(self, packName) source code
 
extract(self, fname)
Unpack a ZenPack, and return the name
source code
 
copyDir(self, srcDir)
Copy an unzipped zenpack to the appropriate location.
source code
 
linkDir(self, srcDir)
Symlink the srcDir into Products Return the name.
source code
 
stop(self, why) source code
 
buildOptions(self) source code
Method Details [hide private]

preInstallCheck(self)

source code 
Check that prerequisite zenpacks are installed. Return True if no prereqs specified or if they are present. False otherwise.

copyDir(self, srcDir)

source code 
Copy an unzipped zenpack to the appropriate location. Return the name.