Skip to content

Puppet 2.7.* Variable Scope Warnings #4

@Rylon

Description

@Rylon

Running this module with Puppet version 2.7.* results in many warnings about variable scope referencing, like the following:

puppet-master[27743]: Dynamic lookup of $operatingsystem at /etc/puppet/modules/munin/manifests/client.pp:18 is deprecated.  Support will be removed in Puppet 2.8.  Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes.

For most of the top level scope variables, this can be fixed by referencing the variable like this $::hostname instead of $hostname, however I'm not sure how to reference variables the Munin module defines internally from other parts of the module.

Do you (or any of your followers) have any plans to fix these deprecation warnings?

Thanks!
Ryan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions