Dzahn has uploaded a new change for review.

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

Change subject: wikistats: let puppet git clone vs. deb
......................................................................

wikistats: let puppet git clone vs. deb

Letting puppet git clone this, then will need a small
deploy script to copy things in the right places.

In this case, building a deb for each update was just making
it harder for volunteers to get stuff deployed.

Change-Id: Iaecb2863e769686a7cea5bf0a33253b6f9e09ea1
---
M modules/wikistats/manifests/init.pp
1 file changed, 10 insertions(+), 2 deletions(-)


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

diff --git a/modules/wikistats/manifests/init.pp 
b/modules/wikistats/manifests/init.pp
index dff7111..ba5433b 100644
--- a/modules/wikistats/manifests/init.pp
+++ b/modules/wikistats/manifests/init.pp
@@ -29,8 +29,16 @@
         system     => true,
     }
 
-    package { 'wikistats':
-        ensure => present,
+    file { '/srv/wikistats':
+        ensure => 'directory',
+    }
+
+    # FIXME rename repo, it was a deb in the past
+    # but not anymore and also not operations
+    git::clone { 'operations/debs/wikistats':
+        ensure    => 'latest',
+        directory => '/srv/wikistats',
+        branch    => 'master',
     }
 
     # webserver setup for wikistats

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

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

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

Reply via email to