Skip to content

worker_connections must be integer since 'Introducing Puppet Module Tool' #472

@stefanandres

Description

@stefanandres

Since 9bd63d34 the nginx module cannot be loaded if you do not pass all default parameters from outside (e.g. hiera) to the nginx class (which before were IN the module) or pass all parameters via class parameters.

If they are non optional parameters, they should not be "undef" but really puppet non optional parameters without fake default values so that proper puppet errors appear when not setting those variables.

puppet apply -e 'include nginx' 
Error: $worker_connections must be an integer. at /opt/puppet-upstream/nginx/manifests/config.pp:87 on node xxx
Error: $worker_connections must be an integer. at /opt/puppet-upstream/nginx/manifests/config.pp:87 on node xxx

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