Tim Landscheidt has uploaded a new change for review.

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

Change subject: Tools: Restore local symlinks for jobutils
......................................................................

Tools: Restore local symlinks for jobutils

This partially reverts I01592d50cc17a4acb25fd2d4b70881f450ad88cd.

Bug: 52258
Change-Id: Iee75364cfccb6290f50d8e70daad3a594c302648
---
M modules/gridengine/manifests/submit_host.pp
1 file changed, 20 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/12/115612/1

diff --git a/modules/gridengine/manifests/submit_host.pp 
b/modules/gridengine/manifests/submit_host.pp
index 0054ac1..437d816 100644
--- a/modules/gridengine/manifests/submit_host.pp
+++ b/modules/gridengine/manifests/submit_host.pp
@@ -1,6 +1,5 @@
 # gridengine.pp
 
-
 class gridengine::submit_host($gridmaster = $grid_master) {
     class { 'gridengine':
         gridmaster => $gridmaster,
@@ -11,7 +10,7 @@
     }
 
     package { 'gridengine-client':
-        ensure => latest,
+        ensure  => latest,
         require => Package['gridengine-common'],
     }
 
@@ -19,5 +18,23 @@
         ensure => link,
         target => '/data/project/.system/accounting',
     }
-}
 
+    # Temporary hack to manage obsolete files in /usr/local/bin.
+    # TODO: Remove when no longer needed.
+    file { '/usr/local/bin/job':
+        ensure => link,
+        target => '/usr/bin/job',
+    }
+    file { '/usr/local/bin/jstart':
+        ensure => link,
+        target => '/usr/bin/jstart',
+    }
+    file { '/usr/local/bin/jstop':
+        ensure => link,
+        target => '/usr/bin/jstop',
+    }
+    file { '/usr/local/bin/jsub':
+        ensure => link,
+        target => '/usr/bin/jsub',
+    }
+}

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee75364cfccb6290f50d8e70daad3a594c302648
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Tim Landscheidt <t...@tim-landscheidt.de>

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

Reply via email to