We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set create_mode to something and set create to false:
Error being thrown
create_mode being ignored if set and create set to false .
The lograte.conf.erb already does ignore it, so why have a specific error message?
***** SNIP ***** if @create opts << ['create', @create_mode, @create_owner, @create_group].reject { |r| r == nil }.join(' ') elsif @create == false opts << 'nocreate' end ***** SNIP *****
***** SNIP puppet code ***** if $create_mode and !$create { fail("Logrotate::Conf[${name}]: create_mode requires create") }
***** SNIP puppet code *****
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
5.5.4
3.3.0
How to reproduce (e.g Puppet code you use)
Set create_mode to something and set create to false:
What are you seeing
Error being thrown
What behaviour did you expect instead
create_mode being ignored if set and create set to false .
Output log
Any additional information you'd like to impart
The lograte.conf.erb already does ignore it, so why have a specific error message?
***** SNIP *****
if @create
opts << ['create', @create_mode, @create_owner, @create_group].reject { |r|
r == nil
}.join(' ')
elsif @create == false
opts << 'nocreate'
end
***** SNIP *****
***** SNIP puppet code *****
if $create_mode and !$create {
fail("Logrotate::Conf[${name}]: create_mode requires create")
}
***** SNIP puppet code *****
The text was updated successfully, but these errors were encountered: