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

Error: Could not set 'present' on ensure: no implicit conversion of Integer into String #79

Open
alexbnyc opened this issue Mar 3, 2021 · 0 comments

Comments

@alexbnyc
Copy link

alexbnyc commented Mar 3, 2021

for some reason i am getting a bunch of these errors. ANy advise how to resolve it?

Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_suspicious_packets_are_logged.pp, line: 25)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_suspicious_packets_are_logged.pp, line: 25)
Wrapped exception:
no implicit conversion of Integer into String
Error: /Stage[main]/Secure_linux_cis::Rules::Ensure_suspicious_packets_are_logged/Sysctl[net.ipv4.conf.default.log_martians]/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/production/modules/secure_linux_cis/manifests/rules/ensure_suspicious_packets_are_logged.pp, line: 25)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_broadcast_icmp_requests_are_ignored.pp, line: 26)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_broadcast_icmp_requests_are_ignored.pp, line: 26)
Wrapped exception:
no implicit conversion of Integer into String
Error: /Stage[main]/Secure_linux_cis::Rules::Ensure_broadcast_icmp_requests_are_ignored/Sysctl[net.ipv4.icmp_echo_ignore_broadcasts]/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/production/modules/secure_linux_cis/manifests/rules/ensure_broadcast_icmp_requests_are_ignored.pp, line: 26)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_bogus_icmp_responses_are_ignored.pp, line: 22)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_bogus_icmp_responses_are_ignored.pp, line: 22)
Wrapped exception:
no implicit conversion of Integer into String
Error: /Stage[main]/Secure_linux_cis::Rules::Ensure_bogus_icmp_responses_are_ignored/Sysctl[net.ipv4.icmp_ignore_bogus_error_responses]/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/production/modules/secure_linux_cis/manifests/rules/ensure_bogus_icmp_responses_are_ignored.pp, line: 22)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_reverse_path_filtering_is_enabled.pp, line: 26)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_reverse_path_filtering_is_enabled.pp, line: 26)
Wrapped exception:
no implicit conversion of Integer into String
Error: /Stage[main]/Secure_linux_cis::Rules::Ensure_reverse_path_filtering_is_enabled/Sysctl[net.ipv4.conf.all.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/production/modules/secure_linux_cis/manifests/rules/ensure_reverse_path_filtering_is_enabled.pp, line: 26)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_reverse_path_filtering_is_enabled.pp, line: 30)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_reverse_path_filtering_is_enabled.pp, line: 30)
Wrapped exception:
no implicit conversion of Integer into String
Error: /Stage[main]/Secure_linux_cis::Rules::Ensure_reverse_path_filtering_is_enabled/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/production/modules/secure_linux_cis/manifests/rules/ensure_reverse_path_filtering_is_enabled.pp, line: 30)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_tcp_syn_cookies_is_enabled.pp, line: 29)
Error: Could not set 'present' on ensure: no implicit conversion of Integer into String (file: /etc/puppetlabs/code/environments/production/modules/secure_linux_cis/manifests/rules/ensure_tcp_syn_cookies_is_enabled.pp, line: 29)
Wrapped exception:
no implicit conversion of Integer into String
Error: /Stage[main]/Secure_linux_cis::Rules::Ensure_tcp_syn_cookies_is_enabled/Sysctl[net.ipv4.tcp_syncookies]/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/production/modules/secure_linux_cis/manifests/rules/ensure_tcp_syn_cookies_is_enabled.pp, line: 29)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant