Set yaml config dir perms to 0644

We don't need or want executable yaml config files. Update the puppet
file resource to recursively set perms to 0644 instead of 0755. This
works because puppet knows to automagically +x directories.

Change-Id: If51875c85bec70a8770e9720a81efbaba62a814d
This commit is contained in:
Clark Boylan 2016-11-07 15:02:57 -08:00
parent 606541ec06
commit 18f5a5771a
1 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,8 @@ class grafyaml (
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
# Puppet automatically +x's dirs and we don't need executable yaml
mode => '0644',
recurse => true,
purge => true,
force => true,