Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with puppet v4 #103

Closed
Tomelin opened this issue May 15, 2017 · 3 comments
Closed

Problem with puppet v4 #103

Tomelin opened this issue May 15, 2017 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Tomelin
Copy link

Tomelin commented May 15, 2017

Hi,

This is module with problem puppet v4.

is it:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: {"message":"Server Error: Evaluation Error: Unknown variable: '::snmp_agentaddress'. at /etc/puppetlabs/code/environments/production/modules/snmp/manifests/params.pp:19:19 on node mail.tolidistribuidora.com.br","issue_kind":"RUNTIME_ERROR","stacktrace":["Warning: The 'stacktrace' property is deprecated and will be removed in a future version of Puppet. For security reasons, stacktraces are not returned with Puppet HTTP Error responses."]}
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

@blackknight36
Copy link
Contributor

Do you have strict variables enabled? manifests/params.pp appears to reference $::snmp_agentaddress however puppet should fall back to the default value when that variable is undefined.

@razorsedge
Copy link
Contributor

@Tomelin Version 3.x of this module does not support Puppet 4's STRICT_VARIABLES=true. I have several PRs in the works for fixing this.

@razorsedge razorsedge self-assigned this May 17, 2017
@razorsedge razorsedge added the bug Something isn't working label May 17, 2017
@razorsedge
Copy link
Contributor

Closed by #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants