Skip to content

Bug with v6.0.0 and nginx 1.18.x #1605

@rwaffen

Description

@rwaffen

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7.30.0
  • Ruby:
  • Distribution: Ubuntu 22.04.4 LTS
  • Module version: v6.0.0

How to reproduce (e.g Puppet code you use)

  • deploy nginx with < v6.0.0
  • update Puppefile
  • run puppt on nginx host with v6.0.0

What are you seeing

puppet facts nginx_version
{
  "nginx_version": "1.18.0"
}
# MANAGED BY PUPPET
server {
  listen       *:443 ssl;
  http2        on;
  ... and others ...
}

What behaviour did you expect instead

# MANAGED BY PUPPET
server {
  listen       *:443 ssl http2;
  ... and others ...
}

Output log

Jun 20 16:03:46 nginx.example.com nginx[378584]: nginx: [emerg] unknown directive "http2" in /etc/nginx/sites-enabled/nginx.example.com.conf:8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions