Skip to content

Use of deprecated "lens_source" and "lens_test" in pgpool::config class #14

Description

@swesterveld

Hi,
You're using the camptocamp/augeas module, and pass it a deprecated "lens_source". According to the current version of that module, "lens_content" should be used -- the same applies for "test_source", which should be "test_content".
It's resulting in the following log-lines on my puppet master:

Jul 14 09:04:37 puppet puppet-master[1971]: (Scope(Augeas::Lens[pgpool])) Passing "lens_source" is deprecated; please use "lens_content"
Jul 14 09:04:37 puppet puppet-master[1971]: (Scope(Augeas::Lens[pgpool])) Passing "test_source" is deprecated; please use "test_content"
Jul 14 09:04:38 puppet puppet-master[1971]: Compiled catalog for pgpool.example.com in environment production in 0.65 seconds

I've tried to fix it myself, but didn't succeed because I'm not that proficient in Puppet's language yet. What I figured out, is that the trigger can be found at: https://github.com/mwhahaha/puppet-pgpool/blob/master/manifests/config.pp#L74

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