Alexandros Kosiaris has uploaded a new change for review.

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

Change subject: mathoid: remove the require
......................................................................

mathoid: remove the require

If require is undef, the catalog apply action fails. Remove require and
rely on require_packages

Change-Id: I8206a250a373916bbc1b7c2ccbcae8ff5b49330c
---
M modules/mathoid/manifests/init.pp
1 file changed, 0 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/55/218855/1

diff --git a/modules/mathoid/manifests/init.pp 
b/modules/mathoid/manifests/init.pp
index fdbd761..d576149 100644
--- a/modules/mathoid/manifests/init.pp
+++ b/modules/mathoid/manifests/init.pp
@@ -26,10 +26,8 @@
     # Pending fix for 
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742347>
     # require_package('node-jsdom')
 
-    $require = undef
     if $png_generation {
         require_package('openjdk-7-jre-headless')
-        $require = Package['openjdk-7-jre-headless']
     }
 
     service::node { 'mathoid':
@@ -41,6 +39,5 @@
             speakText => $speakText_generation,
         },
         healthcheck_url => '/_info',
-        require         => $require,
     }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8206a250a373916bbc1b7c2ccbcae8ff5b49330c
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>

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

Reply via email to