Andrew Bogott has uploaded a new change for review.

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

Change subject: analytics:  modernize the ensure => link syntax in a couple of 
places.
......................................................................

analytics:  modernize the ensure => link syntax in a couple of places.

Change-Id: Ieaa58328a80021a389aa5eb314f3ae6b72a1e839
---
M manifests/role/analytics/mysql.pp
1 file changed, 4 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/79/243179/1

diff --git a/manifests/role/analytics/mysql.pp 
b/manifests/role/analytics/mysql.pp
index 39f7cf6..1c4bb05 100644
--- a/manifests/role/analytics/mysql.pp
+++ b/manifests/role/analytics/mysql.pp
@@ -16,12 +16,14 @@
     }
 
     file { '/etc/init.d/mysql':
-        ensure  => '/opt/wmf-mariadb10/service',
+        ensure    => link,
+        target    => '/opt/wmf-mariadb10/service',
         require   => Class['mariadb::packages_wmf'],
     }
 
     file { '/usr/local/bin/mysql':
-        ensure  => '/opt/wmf-mariadb10/bin/mysql',
+        ensure    => link,
+        target    => '/opt/wmf-mariadb10/bin/mysql',
         require   => Class['mariadb::packages_wmf'],
     }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ieaa58328a80021a389aa5eb314f3ae6b72a1e839
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org>

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

Reply via email to