cd_ntp | Parameters

Parameters:

  • pkg_ensure (string) (defaults to: 'latest')

    Specify which package type to use, i.e. 'present' or 'latest'. See confdroid.com/2017/05/puppet-type-package/ for more details.

  • ntp_server (string) (defaults to: "ntp.${::domain}")

    Specify the FQDN of the ntp server. If empty, clients will be pointed to external pool servers.

  • ntp_local_ntp_server (boolean) (defaults to: true)

    Whether or not to use an ntp server in your local network.

  • ntp_user_uid (string) (defaults to: '38')

    Specify the UID for the NTP service. Usually no change required.

  • ntp_user_comment (string) (defaults to: 'ntp service user')

    Specify the comment for the user. Shows up as email sender in notifications.

  • ntp_user_groups (string) (defaults to: undef)

    Specify the secondary groups for the user. Must not include the primary group.

  • ntp_user_home (string) (defaults to: '/etc/ntp')

    Specify the home for the ntp user. Usually no changes required.

  • ntp_user_shell (string) (defaults to: '/sbin/nologin')

    Specify the shell for the ntp service user, which should never be required / allowed to login.

  • ntp_drift_file (string) (defaults to: '/var/lib/ntp/drift')

    Specify the location of the drift file. Usually does not need to be changed.

  • ntp_restrict_def (string) (defaults to: 'kod nomodify notrap nopeer noquery')

    Specify the options for the default restrictions.

  • ntp_enable_broadcast (boolean) (defaults to: false)

    Whether or not to allow ntp broadcasting. When set to true, the ntp.conf will be updated to include broadcast settings.

  • ntp_broadcast_network (string) (defaults to: '192.168.1.255')

    The broadcast network to send ntp broadcast packets to. Only effective if ntp_enable_broadcast is enabled (true).

  • ntp_enable_multicast (boolean) (defaults to: false)

    Whether or not to allow ntp multicasting. When set to true, the ntp.conf will be updated to include multicast settings.

  • ntp_multicast_network (string) (defaults to: '224.0.1.1')

    The multicast network to send multicast packets to. Only effective if ntp_enable_multicast is enabled (true).

  • ntp_enable_manycast (boolean) (defaults to: false)

    Whether or not to allow ntp manycasting. When set to true, the ntp.conf will be updated to include manycast settings.

  • ntp_manycast_network (string) (defaults to: '39.255.254.254')

    The manycast network to send manycast packets to. Only effective if ntp_enable_manycast is enabled (true).

  • ntp_enable_fudge (boolean) (defaults to: false)

    Whether or not to allow fudge. Only set this to true if no outside source of synchronized time is available.

  • ntp_enable_crypto (boolean) (defaults to: false)

    Whether or not to use cryptography in ntp. Setting this to true will include the crypto settings in the configuration. Note that the authentication keys themselves are not managed by this module.

  • ntp_keys_file (string) (defaults to: '/etc/ntp/keys')

    Key file containing the keys and key identifiers used when operating with symmetric key cryptography.

  • ntp_trusted_keys (string) (defaults to: '4 8 42')

    Specify the trusted keys here.

  • ntp_request_key (string) (defaults to: '8')

    key identifier to use with the ntpdc utility.

  • ntp_control_key (string) (defaults to: '8')

    key identifier to use with the ntpq utility.

  • ntp_enable_stats (boolean) (defaults to: false)

    whether or not to include statistics.

  • ntp_statistics (string) (defaults to: 'clockstats cryptostats loopstats peerstats')

    Which statistics to include. Valid options are clockstats cryptostats loopstats peerstats.

  • ntp_disable_monitoring (boolean) (defaults to: true)

    Whether or not monitoring should be disabled highly recommened due to CVE-2013-5211.

  • ntp_enable_fw (boolean) (defaults to: true)

    Whether or not to manage the firewall. requires cd_firewall or puppetlabs-firewall in the catalogue.

  • ntp_fw_order_number (string) (defaults to: '50')

    refix number to determine the ordering of the firewall rule to ensure it is effective.

  • ntp_port (string) (defaults to: '123')

    the port ntp is listening on.

  • ntp_crypto_pw_file (string) (defaults to: '/etc/ntp/crypto/pw')

    the path for the file containing the password for the crypto keys if encrypted

Leave a Reply