Andrew Bogott has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/343459 )

Change subject: nfs-exportd:  Refresh service if script or .yaml changes.
......................................................................


nfs-exportd:  Refresh service if script or .yaml changes.

Change-Id: I3def9cac6cad86a2dbd62ce622fefe4ba14dc545
---
M modules/labstore/manifests/fileserver/exports.pp
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Andrew Bogott: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/labstore/manifests/fileserver/exports.pp 
b/modules/labstore/manifests/fileserver/exports.pp
index bfd3f22..de4b23a 100644
--- a/modules/labstore/manifests/fileserver/exports.pp
+++ b/modules/labstore/manifests/fileserver/exports.pp
@@ -40,6 +40,7 @@
         mode    => '0444',
         source  => 'puppet:///modules/labstore/nfs-mounts.yaml',
         require => [Package['python3'], Package['python3-yaml']],
+        notify  => Service['nfs-exportd'],
     }
 
     file { '/usr/local/sbin/nfs-manage-binds':
@@ -58,6 +59,7 @@
         mode    => '0555',
         source  => 'puppet:///modules/labstore/nfs-exportd',
         require => File['/usr/local/sbin/nfs-manage-binds'],
+        notify  => Service['nfs-exportd'],
     }
 
     file { '/usr/local/sbin/archive-project-volumes':

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3def9cac6cad86a2dbd62ce622fefe4ba14dc545
Gerrit-PatchSet: 7
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: Chasemp <r...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to