Hi there,
I get a lot of these errors:
Error:
/Stage[main]/Os_hardening::Sysctl/Sysctl[net.ipv4.conf.default.rp_filte
r]/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/sy
sctl.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/sy
sctl.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/sy
sctl.pp, line: 111)
Wrapped exception:
no implicit conversion of Integer into String
even if I just using only 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
* puppetserver 6.3.0-1stretch
* herculesteam-augeasproviders_sysctl (v2.3.1)
Best regards,
Hanspeter Kunz
Attachment:
smime.p7s
Description: S/MIME cryptographic signature