Skip to content

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

@alexbnyc

Description

@alexbnyc

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions