Changes between Version 13 and Version 14 of RefactorClient
- Timestamp:
- 09/21/06 11:36:07 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RefactorClient
v13 v14 56 56 1. Add a new file in src/lib/Client/Tools/ 57 57 1. Add an entry for this file in src/lib/Client/Tools/__init__.py 58 1. Add a class in this file, with the same name as the file, that subclasses Bcfg2.Client.Tools.Tool ( !Bcfg2.Client.Tools.PkgTool for packaging systems)58 1. Add a class in this file, with the same name as the file, that subclasses Bcfg2.Client.Tools.Tool (Bcfg2.Client.Tools.!PkgTool for packaging systems) 59 59 1. Add a method Verify<entry.tag> that returns true or false, based on client state (Mark Verify as done) 60 60 1. If Add a method Install<entry.tag> that returns true or false. (For non package tools) … … 62 62 1. Add a !FindExtra method that locates entries not included in the configuration (Mark Extra Detection as done) (optional; this may not be possible depending on the tool) 63 63 64 For packaging tools, subclass !Bcfg2.Client.Tools.PkgTool and define pkgtype and pkgtool. See the RPM module for an example.64 For packaging tools, subclass Bcfg2.Client.Tools.!PkgTool and define pkgtype and pkgtool. See the RPM module for an example.