Akosiaris has uploaded a new change for review.
https://gerrit.wikimedia.org/r/95603
Change subject: fix perms/owner for memcached ganglia plugins
......................................................................
fix perms/owner for memcached ganglia plugins
Would default to puppetmaster's filesystem values
Change-Id: Ia42e2af448511170773952f8548174bfe306f2e3
---
M manifests/memcached.pp
1 file changed, 14 insertions(+), 8 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/03/95603/1
diff --git a/manifests/memcached.pp b/manifests/memcached.pp
index 64efcf5..6863373 100644
--- a/manifests/memcached.pp
+++ b/manifests/memcached.pp
@@ -37,14 +37,20 @@
# means there's actually a hidden dependency on ganglia.pp for
# the memcache class to work.
file {
- "/usr/lib/ganglia/python_modules/memcached.py":
- require =>
File["/usr/lib/ganglia/python_modules"],
- source =>
"puppet:///files/ganglia/plugins/memcached.py",
- notify => Service['gmond'];
- "/etc/ganglia/conf.d/memcached.pyconf":
- require =>
File["/usr/lib/ganglia/python_modules/memcached.py"],
- source =>
"puppet:///files/ganglia/plugins/memcached.pyconf",
- notify => Service['gmond'];
+ '/usr/lib/ganglia/python_modules/memcached.py':
+ owner => 'root',
+ group => 'root',
+ mode => '0444',
+ source =>
'puppet:///files/ganglia/plugins/memcached.py',
+ require =>
File['/usr/lib/ganglia/python_modules'],
+ notify => Service['gmond'];
+ '/etc/ganglia/conf.d/memcached.pyconf':
+ owner => 'root',
+ group => 'root',
+ mode => '0444',
+ source =>
'puppet:///files/ganglia/plugins/memcached.pyconf',
+ require =>
File['/usr/lib/ganglia/python_modules/memcached.py'],
+ notify => Service['gmond'];
}
}
--
To view, visit https://gerrit.wikimedia.org/r/95603
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia42e2af448511170773952f8548174bfe306f2e3
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Akosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits