Faidon has submitted this change and it was merged.

Change subject: authdns: restart gmond when the plugin changes
......................................................................


authdns: restart gmond when the plugin changes

Change-Id: Ib15fa031b2ed21a718ffa88a777864b94a38d57b
---
M modules/authdns/manifests/ganglia.pp
1 file changed, 6 insertions(+), 0 deletions(-)

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



diff --git a/modules/authdns/manifests/ganglia.pp 
b/modules/authdns/manifests/ganglia.pp
index 9f59fac..4a8ea73 100644
--- a/modules/authdns/manifests/ganglia.pp
+++ b/modules/authdns/manifests/ganglia.pp
@@ -5,10 +5,16 @@
     Class['authdns'] -> Class['authdns::ganglia']
 
     file { '/usr/lib/ganglia/python_modules/gdnsd.py':
+        ensure => present,
+        owner  => 'root',
+        group  => 'root',
+        mode   => '0444',
         source => "puppet:///modules/${module_name}/ganglia/ganglia_gdnsd.py",
+        notify => Service['gmond'],
     }
 
     file { '/etc/ganglia/conf.d/gdnsd.pyconf':
+        ensure => present,
         owner  => 'root',
         group  => 'root',
         mode   => '0444',

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

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