Siebrand has uploaded a new change for review.

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


Change subject: Add /etc/aliases
......................................................................

Add /etc/aliases

Change-Id: Icc56ae3f7204c83f9718120b139f7e9c1981a010
---
M puppet/modules/users/manifests/init.pp
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/translatewiki 
refs/changes/13/92013/1

diff --git a/puppet/modules/users/manifests/init.pp 
b/puppet/modules/users/manifests/init.pp
index a33b762..81e81b4 100644
--- a/puppet/modules/users/manifests/init.pp
+++ b/puppet/modules/users/manifests/init.pp
@@ -196,4 +196,16 @@
       home       => '/home/kartik',
       comment    => 'Kartik Mistry';
   }
+
+       # Pull down the main aliases file
+       file { "/etc/aliases":
+         source => "puppet://server/module/aliases"
+       }
+
+       # Rebuild the database, but only when the file changes
+       exec { newaliases:
+         path        => ["/usr/bin", "/usr/sbin"],
+         subscribe   => File["/etc/aliases"],
+         refreshonly => true
+       }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icc56ae3f7204c83f9718120b139f7e9c1981a010
Gerrit-PatchSet: 1
Gerrit-Project: translatewiki
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>

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

Reply via email to