ArielGlenn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/301142
Change subject: add system::role to the dump related roles for snapshots
......................................................................
add system::role to the dump related roles for snapshots
Change-Id: I7334862ea2ae9aa2dc2c8ce0b4e2c2d90044a2c4
---
M modules/role/manifests/snapshot/cronrunner.pp
M modules/role/manifests/snapshot/dumper.pp
2 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/42/301142/1
diff --git a/modules/role/manifests/snapshot/cronrunner.pp
b/modules/role/manifests/snapshot/cronrunner.pp
index b4272cc..fb5ab84 100644
--- a/modules/role/manifests/snapshot/cronrunner.pp
+++ b/modules/role/manifests/snapshot/cronrunner.pp
@@ -8,5 +8,9 @@
if hiera('snapshot::cron::misc', false) {
# cron jobs
include role::snapshot::cronjobs
+
+ system::role { 'role::snapshot::cronjobs':
+ description => 'runner of misc dump-related cron jobs',
+ }
}
}
diff --git a/modules/role/manifests/snapshot/dumper.pp
b/modules/role/manifests/snapshot/dumper.pp
index 70ff07c..31ccafc 100644
--- a/modules/role/manifests/snapshot/dumper.pp
+++ b/modules/role/manifests/snapshot/dumper.pp
@@ -5,4 +5,8 @@
# cron job for running the dumps
include role::snapshot::cron
+
+ system::role { 'role::snapshot::dumper':
+ description => 'dumper of XML/SQL wiki content',
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/301142
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7334862ea2ae9aa2dc2c8ce0b4e2c2d90044a2c4
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits