Mwalker has uploaded a new change for review.

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


Change subject: Add AppServer Symlink for Special:Version
......................................................................

Add AppServer Symlink for Special:Version

Creating a symlink from /a to /apache so that when Special:Version
checks the .git meta data -- submodules point to the right spot.

/a is the tin deploy directory, but we run from /apache so things
get confused.

Change-Id: Ic9ddd37c5beeb4aa43e47379d26c1d4e62b4dfd6
---
M modules/applicationserver/manifests/init.pp
1 file changed, 6 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/09/65409/1

diff --git a/modules/applicationserver/manifests/init.pp 
b/modules/applicationserver/manifests/init.pp
index 325c6d7..f9f77c6 100644
--- a/modules/applicationserver/manifests/init.pp
+++ b/modules/applicationserver/manifests/init.pp
@@ -8,5 +8,11 @@
                }
        }
 
+       # map tin deploy directory so that git metadata has a place to 
reference, used by Special:Version
+       file { '/a':
+               ensure => 'link',
+               target => '/apache';
+       }
+
        include apache_packages, service, cron, sudo, config::base
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic9ddd37c5beeb4aa43e47379d26c1d4e62b4dfd6
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Mwalker <mwal...@wikimedia.org>

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

Reply via email to