Skip to content

Generate the body of a Pan template out of a subset of the annotations in its header. Part of the Quattor toolkit.

Notifications You must be signed in to change notification settings

piojo-zz/CDB-actions

Repository files navigation

DESCRIPTION

This project aims to be integrated with Quattor. It allows to associate arbitrary code with any annotation in the header of the Pan templates.

The main usage is to generate a Pan template out of an external source, f.i, contents of an LDAP server.

[#A] Document the code properly[1/2]

Some modules and functions lack documentation strings.

Maybe some day somebody will wish to debug or extend the project. :)

In any case, now only operations that require access to CDB lack automated testing, as it doesn’t make sense out of CERN.

The tests could have even clearer examples about the usage.

Maybe I’ll want to remember how I did things some months ago.

[#B] Be more modular[0/3]

Write a module to walk through the checkout

It is done in the main module now, and it’s ugly and long.

Write separated modules for interacting with different CDB implementations?

CDB interactions are going to be way too special to share the code with SCDB. :(

Put in a subdirectory any actions.

To ease plugging of actions.

[#C] Support user-plugged actions and user-specified actions[1/1]

Add a configuration file with the headers, associated modules, and “top-level” callables.

About

Generate the body of a Pan template out of a subset of the annotations in its header. Part of the Quattor toolkit.

Resources

Stars

Watchers

Forks

Packages

No packages published