instance-postgres-import.cfg.in 528 Bytes
Newer Older
1 2 3 4
[buildout]
extends = ${instance-postgres:output}
          ${pbsready-import:output}

5 6

parts +=
7 8 9 10
    postgres-instance

# have to repeat the next one, as it's not inherited from pbsready-import
    import-on-notification
11 12 13

[importer]
recipe = slapos.cookbook:postgres.import
14
wrapper = $${rootdirectory:bin}/$${slap-parameter:namebase}-importer
15 16 17 18
bin = $${postgres-instance:bin}
pgdata-directory = $${postgres-instance:pgdata-directory}
backup-directory = $${postgres-instance:backup-directory}
dbname = $${postgres-instance:dbname}