BryanDavis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/329724 )

Change subject: vagrant: add sudo rules for Vagrant 1.9.1
......................................................................

vagrant: add sudo rules for Vagrant 1.9.1

Add NFS mount management rules needed by Vagrant 1.9.1. Needed by
upstream changes introduced in
https://github.com/mitchellh/vagrant/commit/90db9c95b8e4e6473db52ab99d2f5200ddfe95a3

Bug: T122735
Change-Id: I1a8b87cc9064a144259669c8b5b3b3bb4a9281a9
---
M modules/vagrant/manifests/lxc.pp
1 file changed, 5 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/24/329724/1

diff --git a/modules/vagrant/manifests/lxc.pp b/modules/vagrant/manifests/lxc.pp
index f953962..016f76d 100644
--- a/modules/vagrant/manifests/lxc.pp
+++ b/modules/vagrant/manifests/lxc.pp
@@ -115,6 +115,11 @@
             'ALL=(root) NOPASSWD: /usr/bin/env /etc/init.d/nfs-kernel-server 
*',
             'ALL=(root) NOPASSWD: /usr/bin/env sed -r -e * -ibak /tmp/exports',
             'ALL=(root) NOPASSWD: /usr/bin/env cp /tmp/exports /etc/exports',
+
+            # Vagrant 1.9.1
+            # NFS
+            'ALL=(root) NOPASSWD: /bin/chown 0\:0 /tmp/vagrant*',
+            'ALL=(root) NOPASSWD: /bin/mv -f /tmp/vagrant* /etc/exports',
         ],
     }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a8b87cc9064a144259669c8b5b3b3bb4a9281a9
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BryanDavis <bda...@wikimedia.org>

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

Reply via email to