Volans has submitted this change and it was merged.
Change subject: Salt: reducing permissions on the master's Job cache
......................................................................
Salt: reducing permissions on the master's Job cache
Bug: T143536
Change-Id: I06eb3b4cab886fa1f5423c707bcc66f99615b5fc
---
M modules/salt/manifests/master.pp
1 file changed, 9 insertions(+), 0 deletions(-)
Approvals:
ArielGlenn: Looks good to me, but someone else must approve
Volans: Looks good to me, approved
jenkins-bot: Verified
diff --git a/modules/salt/manifests/master.pp b/modules/salt/manifests/master.pp
index 8b6dacd..cacda5d 100644
--- a/modules/salt/manifests/master.pp
+++ b/modules/salt/manifests/master.pp
@@ -80,4 +80,13 @@
'net.ipv4.tcp_mem' => '16777216 16777216 16777216',
}
}
+
+ # Reducing permissions on the master cache, by default is 0755
+ file { '/var/cache/salt/master':
+ ensure => directory,
+ mode => '0750',
+ owner => 'root',
+ group => 'root',
+ }
+
}
--
To view, visit https://gerrit.wikimedia.org/r/308554
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I06eb3b4cab886fa1f5423c707bcc66f99615b5fc
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Volans <[email protected]>
Gerrit-Reviewer: ArielGlenn <[email protected]>
Gerrit-Reviewer: Muehlenhoff <[email protected]>
Gerrit-Reviewer: Volans <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits