Skip to content

Commit

Permalink
(SIMP-2953) Do not show diff on rsync passwd files
Browse files Browse the repository at this point in the history
Set show_diff to false when managing the rsync password files

SIMP-2953 #close
  • Loading branch information
trevor-vaughan authored and heliocentric committed Mar 29, 2017
1 parent 6dd183d commit 5a06519
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* Wed Mar 29 2017 Trevor Vaughan <tvaughan@onyxpoint.com> - 6.0.2-0
- Ensure that rsync password files are not echoed to the Puppet log

* Thu Mar 17 2017 Liz Nemsick <lnemsick.simp@gmail.com> - 6.0.1-0
- Remove OBE 'pe' requirement from metadata.json
- Update puppet version in .travis.yaml
Expand Down
13 changes: 7 additions & 6 deletions manifests/server/section.pp
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,13 @@

if !empty($auth_users) {
file { "/etc/rsync/${name}.rsyncd.secrets":
ensure => 'file',
owner => $uid,
group => $gid,
mode => '0600',
content => template('rsync/secrets.erb'),
require => File['/etc/rsync']
ensure => 'file',
owner => $uid,
group => $gid,
mode => '0600',
content => template('rsync/secrets.erb'),
show_diff => false,
require => File['/etc/rsync']
}
}
}
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simp-rsync",
"version": "6.0.1",
"version": "6.0.2",
"author": "SIMP Team",
"summary": "manage and rsync server, secured by stunnel",
"license": "Apache-2.0",
Expand Down

0 comments on commit 5a06519

Please sign in to comment.