Dzahn has submitted this change and it was merged.
Change subject: fundraising: remove jenkins.
......................................................................
fundraising: remove jenkins.
Per jeff green request. removed all the jenkins related puppet
Change-Id: Ib9cf4f6da88cd78ecfcd9878bc5ba5d5ab9ed632
---
M manifests/misc/fundraising.pp
1 file changed, 0 insertions(+), 76 deletions(-)
Approvals:
Jgreen: Checked; Looks good to me, but someone else must approve
jenkins-bot: Verified
Dzahn: Looks good to me, approved
diff --git a/manifests/misc/fundraising.pp b/manifests/misc/fundraising.pp
index f53eef5..decbb9a 100644
--- a/manifests/misc/fundraising.pp
+++ b/manifests/misc/fundraising.pp
@@ -350,82 +350,6 @@
}
-class misc::fundraising::jenkins {
-
- system_role { 'misc::fundraising::jenkins': description => 'fundraising
jenkins server' }
-
- # FIXME: remove and use Jenkins from the WMF repository
- exec {
- 'jenkins-apt-repo-key':
- unless => '/bin/grep "deb
http://pkg.jenkins-ci.org/debian-stable binary/" /etc/apt/sources.list.d/*',
- command => '/usr/bin/wget -q -O -
http://pkg.jenkins-ci.org/debian-stable/jenkins-ci.org.key | /usr/bin/apt-key
add -';
-
- 'jenkins-apt-repo-add':
- subscribe => Exec['jenkins-apt-repo-key'],
- refreshonly => true,
- command => '/bin/echo "deb
http://pkg.jenkins-ci.org/debian-stable binary/" >
/etc/apt/sources.list.d/jenkins.list';
-
- 'do-an-apt-get-update':
- subscribe => Exec['jenkins-apt-repo-add'],
- refreshonly => true,
- command => '/usr/bin/apt-get update';
- }
-
- package { jenkins:
- ensure => latest;
- }
-
- user { jenkins:
- name => 'jenkins',
- gid => 'www-data',
- groups => [ 'wikidev', 'backupmover' ];
- }
-
- service { 'jenkins':
- enable => true,
- ensure => 'running',
- hasrestart => true,
- start => '/etc/init.d/jenkins start',
- stop => '/etc/init.d/jenkins stop';
- }
-
- monitor_service { 'jenkins': description => 'jenkins_service_running',
check_command => 'nrpe_check_jenkins' }
-
- include misc::fundraising::jenkins_maintenance
-
-}
-
-
-class misc::fundraising::jenkins_maintenance {
-
- file {
- '/usr/local/bin/jenkins_watcher':
- owner => 'root',
- group => 'root',
- mode => 0500,
- source =>
'puppet:///private/misc/fundraising/jenkins_watcher';
- '/usr/local/bin/jenkins_archiver':
- owner => 'root',
- group => 'root',
- mode => 0500,
- source =>
'puppet:///private/misc/fundraising/jenkins_archiver';
- }
-
- cron {
- 'jenkins_archiver':
- user => 'root',
- minute => '50',
- command => '/usr/local/bin/jenkins_archiver',
- ensure => present;
- 'jenkins_watcher':
- user => 'root',
- minute => '*/5',
- command => '/usr/local/bin/jenkins_watcher',
- ensure => present;
- }
-
-}
-
class misc::fundraising::udp2log_rotation {
include accounts::file_mover
--
To view, visit https://gerrit.wikimedia.org/r/86818
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib9cf4f6da88cd78ecfcd9878bc5ba5d5ab9ed632
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya <[email protected]>
Gerrit-Reviewer: Adamw <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: Jgreen <[email protected]>
Gerrit-Reviewer: Katie Horn <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits