Andrew Bogott has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/343448 )
Change subject: nfs-exportd: flake8 fixes
......................................................................
nfs-exportd: flake8 fixes
Change-Id: I1a4273d0ac7a182003a583142e2464cc68edd691
---
M modules/labstore/files/nfs-exportd
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/48/343448/1
diff --git a/modules/labstore/files/nfs-exportd
b/modules/labstore/files/nfs-exportd
index 7edf902..4401bd5 100755
--- a/modules/labstore/files/nfs-exportd
+++ b/modules/labstore/files/nfs-exportd
@@ -100,6 +100,7 @@
]
return ips
+
def get_projects_with_nfs(mounts_config, observer_pass):
"""
Get populated project objects that need NFS exports
@@ -149,6 +150,7 @@
logging.info(' '.join(exportfs))
subprocess.check_call(exportfs)
+
def write_public_exports(public_exports, exports_d_path):
""" output public export definitions
:param public_exports: dict of defined exports
@@ -163,6 +165,7 @@
logging.info("found %s public NFS exports" % (len(public_paths)))
return public_paths
+
def write_project_exports(mounts_config, exports_d_path, observer_pass):
""" output project export definitions
:param mounts_config: dict of defined exports
--
To view, visit https://gerrit.wikimedia.org/r/343448
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a4273d0ac7a182003a583142e2464cc68edd691
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits