Dzahn has submitted this change and it was merged.
Change subject: move all misc::bugzilla::* to role/bugzilla.pp, less includes
in site.pp
......................................................................
move all misc::bugzilla::* to role/bugzilla.pp, less includes in site.pp
Change-Id: I8803700f765e928a881b0a88818fb58a9cc49f52
---
A manifests/role/bugzilla.pp
M manifests/site.pp
2 files changed, 15 insertions(+), 6 deletions(-)
Approvals:
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/manifests/role/bugzilla.pp b/manifests/role/bugzilla.pp
new file mode 100644
index 0000000..1d268ff
--- /dev/null
+++ b/manifests/role/bugzilla.pp
@@ -0,0 +1,13 @@
+# manifests/role/bugzilla.pp
+
+class role::bugzilla {
+
+ system_role { "role::bugzilla": description => "Bugzilla server" }
+
+ include misc::bugzilla::server,
+ misc::bugzilla::crons,
+ misc::bugzilla::communitymetrics,
+ misc::bugzilla::report,
+ misc::bugzilla::auditlog
+
+}
diff --git a/manifests/site.pp b/manifests/site.pp
index 2be04c2..cf23317 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -1213,17 +1213,13 @@
$gid = 500
include standard,
+ role::bugzilla,
admins::roots,
accounts::demon,
accounts::hashar,
accounts::reedy,
accounts::robla,
- misc::download-mediawiki,
- misc::bugzilla::server,
- misc::bugzilla::crons,
- misc::bugzilla::communitymetrics,
- misc::bugzilla::report,
- misc::bugzilla::auditlog
+ misc::download-mediawiki
install_certificate{ "star.wikimedia.org": }
--
To view, visit https://gerrit.wikimedia.org/r/72543
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8803700f765e928a881b0a88818fb58a9cc49f52
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Aklapper <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Pyoungmeister <[email protected]>
Gerrit-Reviewer: RobH <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits