diff --git a/modules.env b/modules.env index 82144f433b..7ffac429fa 100644 --- a/modules.env +++ b/modules.env @@ -95,6 +95,7 @@ INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-openafs"]="origi INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-openstackci"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-openstackid"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-packagekit"]="origin/master" +INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-pgsql_backup"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-pip"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-planet"]="origin/master" INTEGRATION_MODULES["$OPENSTACK_GIT_ROOT/openstack-infra/puppet-project_config"]="origin/master" diff --git a/modules/openstack_project/manifests/ask.pp b/modules/openstack_project/manifests/ask.pp index 6d2e723e52..8e400b9133 100644 --- a/modules/openstack_project/manifests/ask.pp +++ b/modules/openstack_project/manifests/ask.pp @@ -135,4 +135,16 @@ class openstack_project::ask ( db_password => $db_password, require => [ Class['redis'], Class['askbot'] ], } + + pgsql_backup::backup { $db_name: + database_user => $db_user, + database_password => $db_password, + require => Postgresql::Server::Db[$db_name], + } + + include bup + bup::site { 'rs-ord': + backup_user => 'bup-ask', + backup_server => 'ci-backup-rs-ord.openstack.org', + } }