sams.backend.SoftwareAccountingPW
Manages informtion in the Software Accounting database useing PeeWee.
Used by the sams-software-updater
Related to sams.aggregator.SoftwareAccountingPW
NOTE! sams.aggregator.SoftwareAccountingPW is not database compatible with sams.aggregator.SoftwareAccounting
Config options
database
Select database type
Valid options are: sqlite, postgresql or mysql
Default: sqlite
database_options
Options to pass to PeeWee database classes.
See: sqlite postgresql mysql
create_tables
If set to "yes" tables will be created in database.
Default: no
Extract user/project specific data for a software.
If software, version, local version contains a %(user)s or %(project)s string it will be replaced with the user/project of the running job.
Example configuration
sams.backend.SoftwareAccountingPW:
clustername: cluster.example.com
database: sqlite
database_options:
database: /path/to/sqlite.db
pragmas:
temp\_store: MEMORY