diff --git a/manifests/database.pp b/manifests/database.pp index a9cc4130..acdb15aa 100644 --- a/manifests/database.pp +++ b/manifests/database.pp @@ -25,8 +25,8 @@ 'DJANGO_SETTINGS_MODULE=pulpcore.app.settings', "PULP_SETTINGS=${pulpcore::settings_file}", ], - refreshonly => true, require => Postgresql::Server::Db[$pulpcore::postgresql_db_name], + unless => 'django-admin migrate --plan | grep "No planned migration operations"', } include redis