From 18f5a5771ad52fa553b437859f8da661260367a4 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 7 Nov 2016 15:02:57 -0800 Subject: [PATCH] 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 --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 9b9906a..bd5f60a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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,