Akosiaris has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/79344


Change subject: include role::backup::config
......................................................................

include role::backup::config

So that variables can be referenced. Also fix a typo

Change-Id: I6bf0540713d996e3ded0ca6ee40126607d30fb92
---
M manifests/role/backup.pp
1 file changed, 6 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/44/79344/1

diff --git a/manifests/role/backup.pp b/manifests/role/backup.pp
index 3625f49..1399b0a 100644
--- a/manifests/role/backup.pp
+++ b/manifests/role/backup.pp
@@ -7,6 +7,9 @@
 }
 
 class role::backup::director {
+    include role::backup::config
+    include passwords::bacula
+
     system_role { 'role::backup::director': description => 'Backup server' }
 
     class { 'bacula::director':
@@ -33,7 +36,7 @@
     bacula::director::catalog { 'production':
         dbname      => 'bacula',
         dbuser      => 'bacula',
-        dbhost      => $bacula::config::database,
+        dbhost      => $role::backup::config::database,
         dbport      => '3306',
         dbpassword  => $passwords::bacula::database
     }
@@ -98,6 +101,8 @@
 }
 
 class role::backup::storage() {
+    include role::backup::config
+
     system_role { 'role::backup::storage': description => 'Backup Storage' }
 
     include nfs::netapp::common

-- 
To view, visit https://gerrit.wikimedia.org/r/79344
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6bf0540713d996e3ded0ca6ee40126607d30fb92
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Akosiaris <akosia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to