Alexandros Kosiaris has submitted this change and it was merged.

Change subject: etherpad: Require the package before populating robots.txt
......................................................................


etherpad: Require the package before populating robots.txt

Change-Id: I0e0a91bbc8c9952b3734f067a63a31159a8b88a0
---
M modules/etherpad/manifests/init.pp
1 file changed, 6 insertions(+), 5 deletions(-)

Approvals:
  Alexandros Kosiaris: Verified; Looks good to me, approved



diff --git a/modules/etherpad/manifests/init.pp 
b/modules/etherpad/manifests/init.pp
index 2d7826f..821ce3b 100644
--- a/modules/etherpad/manifests/init.pp
+++ b/modules/etherpad/manifests/init.pp
@@ -27,10 +27,11 @@
     }
 
     file { '/usr/share/etherpad-lite/src/static/robots.txt':
-        ensure => present,
-        owner  => 'root',
-        group  => 'root',
-        mode   => '0444',
-        source => 'puppet:///modules/etherpad/etherpad-robots.txt',
+        ensure  => present,
+        owner   => 'root',
+        group   => 'root',
+        mode    => '0444',
+        source  => 'puppet:///modules/etherpad/etherpad-robots.txt',
+        require => Package['etherpad-lite'],
     }
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0e0a91bbc8c9952b3734f067a63a31159a8b88a0
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to