From bec4c4621de49a7f6d2cc95e96dc7ac357bdc1d2 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Wed, 14 Aug 2024 20:54:21 +0200 Subject: [PATCH] Fix idempotency with pulpcore's migrations puppet-pulpcore can no longer guarantee idempotency and reliably migrate the database[1]. An option[2] was introduced to pretend it's idempotent, which in upgrades may break but is good enough for CI. [1]: https://github.com/theforeman/puppet-pulpcore/commit/f8d0dc629799a1fadabd3967de62173d0e91a048 [2]: https://github.com/theforeman/puppet-pulpcore/commit/0004d05da6424a8bcba92e73c106249b8ca2f499 --- spec/acceptance/hieradata/common.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/acceptance/hieradata/common.yaml b/spec/acceptance/hieradata/common.yaml index d2d21cbb..4ff4756e 100644 --- a/spec/acceptance/hieradata/common.yaml +++ b/spec/acceptance/hieradata/common.yaml @@ -4,3 +4,6 @@ foreman_proxy::manage_puppet_group: false foreman_proxy::puppet: false foreman_proxy::puppetca: false foreman_proxy::ssl_port: 9090 + +# Fix idempotency in pulpcore +pulpcore::database::always_run_migrations: false