Yuvipanda has submitted this change and it was merged.

Change subject: diamond: Restart service when the .py files change
......................................................................


diamond: Restart service when the .py files change

Change-Id: I81f276b84597c0b6a328df199b6b9ed5d73833a5
---
M modules/diamond/files/collector/sshsessions.py
M modules/diamond/manifests/collector.pp
2 files changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/modules/diamond/files/collector/sshsessions.py 
b/modules/diamond/files/collector/sshsessions.py
index d5747f8..657bf95 100644
--- a/modules/diamond/files/collector/sshsessions.py
+++ b/modules/diamond/files/collector/sshsessions.py
@@ -1,5 +1,4 @@
 # coding=utf-8
-
 """
 Collect number of open ssh / mosh sessions
 
diff --git a/modules/diamond/manifests/collector.pp 
b/modules/diamond/manifests/collector.pp
index 3996fdf..2698df5 100644
--- a/modules/diamond/manifests/collector.pp
+++ b/modules/diamond/manifests/collector.pp
@@ -89,6 +89,7 @@
             owner  => 'root',
             group  => 'root',
             mode   => '0444',
+            notify => Service['diamond'],
         }
         if $source {
             File["/usr/share/diamond/collectors/${name}/${name}.py"] {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I81f276b84597c0b6a328df199b6b9ed5d73833a5
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <yuvipa...@wikimedia.org>
Gerrit-Reviewer: Yuvipanda <yuvipa...@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