Skip to content

Commit

Permalink
Add set mode for File
Browse files Browse the repository at this point in the history
This sets the file mode to 0644, to allow for
non-root users to read the file
  • Loading branch information
Will Meek committed Oct 4, 2017
1 parent 6b088bd commit e2164ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/init.pp
Expand Up @@ -56,6 +56,10 @@
$_issue_net_content = false
}

File {
mode => '0644',
}

if ($::kernel == 'Linux') or ($::kernel == 'SunOS') {
file { '/etc/motd':
ensure => file,
Expand Down

0 comments on commit e2164ad

Please sign in to comment.