tom-krieger / cis_security_hardening

Define a complete security baseline and monitor the baseline's rules. The definition of the baseline should be done in Hiera. The purpose of the module is to give the ability to setup a complete security baseline which not necessarily have to stick to industry security guides like the CIS benchmarks.
Apache License 2.0
15 stars 10 forks source link

add type to ntp servers array #47

Closed canihavethisone closed 1 year ago

canihavethisone commented 1 year ago

I have added Stdlib::Host to the ntp_servers array however this is a weird type. If you try to submit a truncated ipv4 address such as 10.0.0.1.1 it accepts it, however Stdlib::IP::Address does not. The advantage of using Stdlib::Host is that it will accept fqdn's, which are valid as well as ip addresses in ntpd.conf