-
Notifications
You must be signed in to change notification settings - Fork 106
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
Error: no implicit conversion of Integer into String #199
Comments
Closed due to inactivity |
sorry, I got no notification from github, so I didn't know that there was a question. I have the following puppet version installed:
I use stdlib version v5.2.0 Best and thanks |
Version 2.2.5 is out, please try it! |
This fixed my errors. Many thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get a lot of these errors:
Error: /Stage[main]/Os_hardening::Sysctl/Sysctl[net.ipv4.conf.default.rp_filter]/ensure: change from 'absent' to 'present' failed: Could not set 'present' on ensure: no implicit conversion of Integer into String (file:/etc/puppetlabs/code/environments/ifi/modules/os_hardening/manifests/sysctl.pp, line: 78)
Error: Could not set 'present' on ensure: no implicit conversion of
Integer into String (file:/etc/puppetlabs/code/environments/ifi/modules/os_hardening/manifests/sysctl.pp, line: 111)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file:/etc/puppetlabs/code/environments/ifi/modules/os_hardening/manifests/sysctl.pp, line: 111)
Wrapped exception:no implicit conversion of Integer into String
even if I just use the module with default parameter values, i.e.
class { "os_hardening": }
in fact, it seems I get such an error for every instance of 'bool2num' in os_hardening/manifests/sysctl.pp, e.g. (corresponding to the error above)
line 111: sysctl { 'net.ipv4.conf.all.arp_ignore': value =>
bool2num($arp_restricted) }
I am using
Best,
Hp
The text was updated successfully, but these errors were encountered: