You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this module and get deprecation error.
Affected Puppet, Ruby, OS and module versions/distributions
Puppet: 7.2.1
Ruby:
Distribution: Centos 7
Module version: 0.1.1
How to reproduce (e.g Puppet code you use)
To check if module works, i'm trying to use code exact same with example in Readme.
What are you seeing
on line $d = Deferred('vault_lookup::lookup', ["secret/test", 'https://vault.hostname:8200'])
agent falls and I see an error:
Error: Failed to apply catalog: undefined method `http_ssl_instance' for Puppet::Network::HttpPool:Module Did you mean? http_instance
Looks like, module's code uses a deprecated ruby's module. I'm not really familiar with ruby, so I can't inspect this issue closer. Is there any solution?
The text was updated successfully, but these errors were encountered:
I have checked my setup once again and found the issue.
I have installed module using command puppet module install puppet-vault_lookup. Command installed 0.1.1 version of the module (v0.1.1 released Oct 16th 2018). So I get a pretty old version of the module. By the way, as I can see it is a last release in this repo and puppet forge
Anyway, now I have taked module from repo and now it works! It prints another deprecation warning but works:
Warning: The method 'Puppet::Network::HttpPool.http_instance' is deprecated. Use Puppet.runtime[:http] instead
(file & line not available)
Hello everyone,
I'm trying to use this module and get deprecation error.
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
To check if module works, i'm trying to use code exact same with example in Readme.
What are you seeing
on line
$d = Deferred('vault_lookup::lookup', ["secret/test", 'https://vault.hostname:8200'])
agent falls and I see an error:
Error: Failed to apply catalog: undefined method `http_ssl_instance' for Puppet::Network::HttpPool:Module Did you mean? http_instance
Looks like, module's code uses a deprecated ruby's module. I'm not really familiar with ruby, so I can't inspect this issue closer. Is there any solution?
The text was updated successfully, but these errors were encountered: