Skip to content

ssl_cert => 'puppet:///modules/sslkey/wildcard_mydomain.crt' doesn't work after upgrade #638

@yarikdot

Description

@yarikdot

We did upgrade to the latest version of your great plugin and unfortunately this construction stopped working:

nginx::resource::vhost { "${name}.${::domain} ${name}":
    ensure                => present,
    listen_port           => 443,
    www_root              => $tmp_www_root,
    proxy                 => $proxy,
    location_cfg_append   => $location_cfg_append,
    index_files           => [ 'index.php' ],
    ssl                   => true,
    ssl_cert              => 'puppet:///modules/sslkey/wildcard_mydomain.crt',
    ssl_key               => 'puppet:///modules/sslkey/wildcard_mydomain.key',
}

When applied the changes after module upgrade we see and of course nginx crashed:

-  ssl_certificate           /etc/nginx/myproject.crt;
-  ssl_certificate_key       /etc/nginx/myproject.key;
+  ssl_certificate           puppet:///modules/project_ssl/mydomain.tld/mydomain.tld.crt;
+  ssl_certificate_key       puppet:///modules/project_ssl/mydomain.tld/mydomain.tld.key;

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