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

can't change value of snmp_com2sec (and potentially some other variables) #72

Closed
MaDYeTTi opened this issue Jun 30, 2016 · 2 comments
Closed
Assignees
Labels

Comments

@MaDYeTTi
Copy link

I've tried t change value of snmp_com2sec to something like "notConfigUser 127.0.0.1 public".

Problem is that's not passing check_array.
So effectively you can't change it to a string you need.

here is error log:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: "notConfigUser 127.0.0.1 public" is not an Array. It looks to be a String at /etc/puppet/blah-blah-blah/snmp/manifests/init.pp:319 on node test

Maybe it's not a best idea to use check_array for some of these variables.

@razorsedge
Copy link
Contributor

@MaDYeTTi check_array is doing it's job. Try setting the value to an array:

snmp_com2sec = ['notConfigUser 127.0.0.1 public']

@vStone
Copy link
Contributor

vStone commented Oct 5, 2018

Looks like this is not really a bug. Data typing has been put in place.

@vStone vStone closed this as completed Oct 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants