Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dumpCfg:
- oracle:
- DB_USERNAME: toto
- DUMP_TYPE: full
- mysql:
- DB_USERNAME=titi
- DUMP_TYPE=full
- dump_oracle
- DB_USERNAME=toto
- DUMP_TYPE=full
- dump_mysql
- DB_USERNAME=titi
- DUMP_TYPE=full
- class bacula_client (
- $isDirector = false,
- $isHostConcentrator = false,
- $dumpCfg = '',
- $hasOracle = false,
- $hasLdap = false,
- $data = '',
- $hasMongo = false,
- $hasMysql = false,
- $size = 'SMALL',
- $fileset = 'common',
- $schedule = '',
- $backupCrons = []
- ) inherits bacula_client::params {
- define foo($DB_USERNAME, $DUMP_TYPE) {
- notify { "$title: got $DB_USERNAME and $DUMP_TYPE": }
- }
- create_resources(foo, $dumpCfg)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement