Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. dumpCfg:
  2. oracle:
  3. DB_USERNAME: toto
  4. DUMP_TYPE: full
  5. mysql:
  6. DB_USERNAME=titi
  7. DUMP_TYPE=full
  8.  
  9. dump_oracle
  10. DB_USERNAME=toto
  11. DUMP_TYPE=full
  12. dump_mysql
  13. DB_USERNAME=titi
  14. DUMP_TYPE=full
  15.  
  16. class bacula_client (
  17.  
  18. $isDirector = false,
  19. $isHostConcentrator = false,
  20. $dumpCfg = '',
  21. $hasOracle = false,
  22. $hasLdap = false,
  23. $data = '',
  24. $hasMongo = false,
  25. $hasMysql = false,
  26. $size = 'SMALL',
  27. $fileset = 'common',
  28. $schedule = '',
  29. $backupCrons = []
  30. ) inherits bacula_client::params {
  31.  
  32.  
  33. define foo($DB_USERNAME, $DUMP_TYPE) {
  34. notify { "$title: got $DB_USERNAME and $DUMP_TYPE": }
  35. }
  36.  
  37. create_resources(foo, $dumpCfg)
  38. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement