Skip to content

Do not force set ntp servers #174

@directionless

Description

@directionless

There are cases where one does not want any ntp servers. Perhaps a node is using pools, or perhaps it's only using peers.

However, #170 changed the behavior here. As
implemented in https://github.com/rhass/ntp/blob/master/recipes/default.rb#L61-L69

if node['ntp']['servers'].empty?
  node.default['ntp']['servers'] = [
    '0.pool.ntp.org',
    '1.pool.ntp.org',
    '2.pool.ntp.org',
    '3.pool.ntp.org',
  ]
  Chef::Log.debug 'No NTP servers specified, using default ntp.org server pools'
end

I'm not sure this was intentional or accidental.

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