Skip to content

Commit

Permalink
Fix config files premission
Browse files Browse the repository at this point in the history
The secret file is the secret one, and the main config file has no
sensitive data.  Permissions where reversed.
  • Loading branch information
smortex committed Sep 29, 2023
1 parent 35b7e21 commit e90f2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
ensure => file,
owner => 'root',
group => $postsrsd::group,
mode => '0644',
mode => '0640',
content => epp('postsrsd/postsrsd.secret.epp'),
}

file { $postsrsd::config_file:
ensure => file,
owner => 'root',
group => $postsrsd::group,
mode => '0640',
mode => '0644',
content => epp('postsrsd/postsrsd.conf.epp'),
}
}

0 comments on commit e90f2ba

Please sign in to comment.