Skip to content

Commit

Permalink
Ensure config file ends with a new line
Browse files Browse the repository at this point in the history
  • Loading branch information
baurmatt committed Oct 4, 2019
1 parent 10f437e commit 9d198ff
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,17 @@
-> case $::osfamily {
'Windows': {
concat { "${puppet_dir}/puppet.conf":
mode => '0674',
mode => '0674',
ensure_newline => true,
}
}

default: {
concat { "${puppet_dir}/puppet.conf":
owner => 'root',
group => $::puppet::params::root_group,
mode => '0644',
owner => 'root',
group => $::puppet::params::root_group,
mode => '0644',
ensure_newline => true,
}
}
}
Expand Down

0 comments on commit 9d198ff

Please sign in to comment.