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
puppet-agent-7.21.0-1.el8.x86_64
ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5) [x86_64-linux]
Set
nginx::stream: true
in Hiera.
After an upgrade from module version 4.0.0, nginx fails to start with
nginx
nginx: [emerg] log format is not specified in /etc/nginx/nginx.conf:73
/etc/nginx/nginx.conf contains the following block:
/etc/nginx/nginx.conf
stream { include /etc/nginx/conf.stream.d/*.conf; include /etc/nginx/streams-enabled/*; access_log /var/log/nginx/stream-access.log; }
It appears that nginx::stream_log_format needs to be set as well.
nginx::stream_log_format
A default value for nginx::stream_log_format or an empty nginx::stream_access_log, either of which would allow nginx to start successfully.
nginx::stream_access_log
As a workaround, I set
nginx::stream_access_log: []
which results in the same stream block in nginx.conf as I believe I had with 4.0.0. With that, nginx starts successfully.
stream
nginx.conf
The text was updated successfully, but these errors were encountered:
Must be caused by #1461.
Sorry, something went wrong.
Indeed. I apologize that I forgot to mention that.
No branches or pull requests
Affected Puppet, Ruby, OS and module versions/distributions
puppet-agent-7.21.0-1.el8.x86_64
ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5) [x86_64-linux]
How to reproduce (e.g Puppet code you use)
Set
in Hiera.
What are you seeing
After an upgrade from module version 4.0.0,
nginx
fails to start with/etc/nginx/nginx.conf
contains the following block:It appears that
nginx::stream_log_format
needs to be set as well.What behaviour did you expect instead
A default value for
nginx::stream_log_format
or an emptynginx::stream_access_log
, either of which would allownginx
to start successfully.Any additional information you'd like to impart
As a workaround, I set
which results in the same
stream
block innginx.conf
as I believe I had with 4.0.0. With that,nginx
starts successfully.The text was updated successfully, but these errors were encountered: