Dzahn has uploaded a new change for review.

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


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/43/72543/1

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 26b13cd..e7316a0 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: newchange
Gerrit-Change-Id: I8803700f765e928a881b0a88818fb58a9cc49f52
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Dzahn <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to