Madhuvishy has submitted this change and it was merged.
Change subject: maps nfs: Symlink project and home to mount from labstore1003
......................................................................
maps nfs: Symlink project and home to mount from labstore1003
Change-Id: Icbd682d58a892246627d05547d5df0ab71c9d2d0
---
M modules/role/manifests/labs/nfsclient.pp
1 file changed, 17 insertions(+), 0 deletions(-)
Approvals:
Madhuvishy: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/role/manifests/labs/nfsclient.pp
b/modules/role/manifests/labs/nfsclient.pp
index 156c7ff..32b3d9a 100644
--- a/modules/role/manifests/labs/nfsclient.pp
+++ b/modules/role/manifests/labs/nfsclient.pp
@@ -60,6 +60,23 @@
block => true,
lookupcache => $lookupcache,
}
+
+ if mount_nfs_volume($::labsproject, 'maps') {
+ file { '/data/project':
+ ensure => 'link',
+ target => '/mnt/nfs/labstore1003-maps/project',
+ require => [Labstore::Nfs_mount['maps-on-labstore1003'],
+
Labstore::Nfs_mount['maps-project-on-labstoresvc']],
+ }
+
+ file { '/home':
+ ensure => 'link',
+ target => '/mnt/nfs/labstore1003-maps/home',
+ require => [Labstore::Nfs_mount['maps-on-labstore1003'],
+ Labstore::Nfs_mount['maps-home-on-labstoresvc']],
+ }
+ }
+
}
labstore::nfs_mount { 'scratch-on-labstoresvc':
--
To view, visit https://gerrit.wikimedia.org/r/316826
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Icbd682d58a892246627d05547d5df0ab71c9d2d0
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Madhuvishy <[email protected]>
Gerrit-Reviewer: Madhuvishy <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits