From e2164ad06c224dbf7cc8fc83f4e32304d7260566 Mon Sep 17 00:00:00 2001 From: Will Meek Date: Wed, 4 Oct 2017 11:39:31 +0100 Subject: [PATCH] Add set mode for File This sets the file mode to 0644, to allow for non-root users to read the file --- manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 389e11ca..97b29ef1 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -56,6 +56,10 @@ $_issue_net_content = false } + File { + mode => '0644', + } + if ($::kernel == 'Linux') or ($::kernel == 'SunOS') { file { '/etc/motd': ensure => file,