Jira (PDB-4636) Add configration option migrate

13 views
Skip to first unread message

Austin Blatt (JIRA)

unread,
Jan 27, 2020, 4:59:03 PM1/27/20
to puppe...@googlegroups.com
Austin Blatt created an issue
 
PuppetDB / New Feature PDB-4636
Add configration option migrate
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2020/01/27 1:58 PM
Priority: Normal Normal
Reporter: Austin Blatt

The migrate config option determines whether or not the PuppetDB will attempt to migrate the Postgres database.

When false (the default), it will just perform the check of the database migration schema version. If it does not match the expected, exit 3.

When true, create the migration connection using the puppetdb migrator user and perform the necessary migrations.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Austin Blatt (JIRA)

unread,
Jan 28, 2020, 1:40:04 PM1/28/20
to puppe...@googlegroups.com

Austin Blatt (JIRA)

unread,
Jan 29, 2020, 2:35:04 PM1/29/20
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Acceptance Criteria: - New configuration option {{migrate}} in then the {{[database]}} section

Austin Blatt (JIRA)

unread,
Jan 29, 2020, 2:36:04 PM1/29/20
to puppe...@googlegroups.com
Austin Blatt updated an issue
Change By: Austin Blatt
Sprint: HA Team 2020-02-12

Nick Burgan (JIRA)

unread,
Jan 29, 2020, 2:37:04 PM1/29/20
to puppe...@googlegroups.com
Nick Burgan updated an issue
Change By: Nick Burgan
Story Points: 2

Rob Browning (JIRA)

unread,
Jan 29, 2020, 3:07:04 PM1/29/20
to puppe...@googlegroups.com
Rob Browning updated an issue
Change By: Rob Browning
The {{migrate}} config option determines whether or not the PuppetDB will attempt to migrate the Postgres database.

When {{false}} (the default) , it will just perform the check of the database migration schema version. If it does should not match the expected attempt migrations , and should exit with status 3 if the current migration level is not the one it expects .

When {{true}}, create the migration connection using the puppetdb migrator user and it should behave as it always has, i.e. perform the necessary any needed migrations.

Rob Browning (JIRA)

unread,
Jan 29, 2020, 3:07:05 PM1/29/20
to puppe...@googlegroups.com
Rob Browning updated an issue
The {{migrate}} config option determines whether or not PuppetDB will attempt to migrate the Postgres database.  When {{false}}, it should not attempt migrations, and should exit with status 3 if the current migration level is not the one it expects.  When {{true}} (the default) , it should behave as it always has, i.e. perform any needed migrations.
Reply all
Reply to author
Forward
0 new messages