Akosiaris has submitted this change and it was merged.
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(-)
Approvals:
Akosiaris: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I6bf0540713d996e3ded0ca6ee40126607d30fb92
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Akosiaris <[email protected]>
Gerrit-Reviewer: Akosiaris <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits