Skip to content

Commit

Permalink
fixes #15014 - pulp db migration on mongo start
Browse files Browse the repository at this point in the history
This means that every time mongo database is started by puppet, we'll
run pulp-manage-db.  This fixes reset, so when puppet starts mongo
during the puppet run we'll migrate the db.
  • Loading branch information
stbenjam committed May 11, 2016
1 parent 4d4a5d9 commit 233bee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/database.pp
Expand Up @@ -23,7 +23,7 @@
logoutput => 'on_failure',
user => 'apache',
refreshonly => true,
require => File['/etc/pulp/server.conf'],
subscribe => Service['mongodb'],
}

Class['pulp::install'] ~> Exec['migrate_pulp_db'] ~> Class['pulp::service']
Expand Down

0 comments on commit 233bee3

Please sign in to comment.