puppet-logrotate icon indicating copy to clipboard operation
puppet-logrotate copied to clipboard

Variable scope bug in template

Open emildragu opened this issue 9 years ago • 2 comments

$sane_* variables get values from a different scope when their corresponding variable is undef. This happens for wtmp and btmp config files, causing the config to use values from the first evaluated rule that is declared somewhere else. Puppet version - 3.8.2.

emildragu avatar Oct 01 '15 12:10 emildragu

is this #26?

mmoll avatar Nov 25 '15 18:11 mmoll

Yes, the behaviour is the same as I saw on my environment.

emildragu avatar Nov 26 '15 20:11 emildragu