Hashar has uploaded a new change for review.

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

Change subject: contint: symlink for Jenkins email templates
......................................................................

contint: symlink for Jenkins email templates

The email templates for the Email-ext plugin are hold in
integration/jenkins.git but the plugin expects them under Jenkins home.
So just do a symbolic link to where git-deploy put the files.

Bug: 64232
Change-Id: I47f8df11194d2b700a3a0533dc0fe0008cb70b2d
---
M manifests/role/ci.pp
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/52/129152/1

diff --git a/manifests/role/ci.pp b/manifests/role/ci.pp
index 130c8a4..3ce22fd 100644
--- a/manifests/role/ci.pp
+++ b/manifests/role/ci.pp
@@ -35,6 +35,16 @@
         require => User['jenkins'],
     }
 
+    # Templates for Jenkins plugin Email-ext.  The templates are hosted in
+    # the repository integration/jenkins.git, so link to there.
+    file { '/var/lib/jenkins/email-templates':
+        ensure => link,
+        target => 
'/srv/deployment/integration/slave-scripts/tools/email-templates',
+        mode   => '0444',
+        owner  => 'root',
+        group  => 'root',
+    }
+
     # As of October 2013, the slave scripts are installed with
     # contint::slave-scripts and land under /srv/jenkins.
     # FIXME: clean up Jenkins jobs to no more refer to the paths below:

-- 
To view, visit https://gerrit.wikimedia.org/r/129152
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I47f8df11194d2b700a3a0533dc0fe0008cb70b2d
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to