<commit_before>ntpd
====
[![Cookbook Version](https://img.shields.io/cookbook/v/ntpd.svg)](https://supermarket.chef.io/cookbooks/ntpd)
[![Build Status](https://travis-ci.org/rogerdelph/cookbook-ntpd.svg?branch=master)](https://travis-ci.org/rogerdelph/cookbook-ntpd)

This cookbook installs and configures the ntpd service to syncronize the clock against network servers.  The configuration can be change to also configure the system as a peer for other computers to syncronize their clocks. 

Requirements
------------

Chef 0.10.10+ and Ohai 6.10+ for `platform_family` use.

## platforms:

The following platforms and versions are tested and supported using [test-kitchen](http://kitchen.ci/)

* CentOS 6.7, 7.0

The following platform families are supported and are assumed to work based on successful testing.

* Red Hat (rhel)
* Amazon Linux


Attributes
----------
Please review `attributes/default.rb` for default values, and all attributed contain comments in the field for easier use. 

#### Logging Options
The following attributes change if logging is enabled and where the logs are stored.

* `node['ntp']['drift_log_enabled']` - To log the drift of your system clock into a log file, defaults to `true`
* `node['ntp']['drift_log_location']` - The location of the drift log if enabled, defaults to `/var/lib/ntp/ntp.drift`
* `node['ntp']['log_enabled']` - To seperate out the ntp log from the default syslog provider, defaults to `true`
* `node['ntp']['log_location']` - The location of the log if enabled, defaults to `/var/lib/ntp/ntp.log`

#### Access Controls
The following attributes change how the server responds how the server responds to requests.

* `node['ntp']['ac_default']` - Prevents the free access to the server, defaults `true`
* `node['ntp']['ac_ignore']` - Prevents any packet accessing the ntp server, defaults `false`
* `node['ntp']['ac_kod']` - Enables the sending of the 'kiss-o'death' (KoD) packet when access violations occur, defaults to `true`
* `node['ntp']['ac_limited']` - Denys service if the packet spacing violates the lower limits in the discard command, defaults to `false`<commit_msg>updating typo in readme.rnd<commit_after>ntpd
====
[![Cookbook Version](https://img.shields.io/cookbook/v/ntpd.svg)](https://supermarket.chef.io/cookbooks/ntpd)
[![Build Status](https://travis-ci.org/rogerdelph/cookbook-ntpd.svg?branch=master)](https://travis-ci.org/rogerdelph/cookbook-ntpd)

This cookbook installs and configures the ntpd service to syncronize the clock against network servers.  The configuration can be change to also configure the system as a peer for other computers to syncronize their clocks. 

Requirements
------------

Chef 0.10.10+ and Ohai 6.10+ for `platform_family` use.

## Platforms:

The following platforms and versions are tested and supported using [test-kitchen](http://kitchen.ci/)

* CentOS 6.7, 7.0

The following platform families are supported and are assumed to work based on successful testing.

* Red Hat (rhel)
* Amazon Linux


Attributes
----------
Please review `attributes/default.rb` for default values, and all attributed contain comments in the field for easier use. 

#### Logging Options
The following attributes change if logging is enabled and where the logs are stored.

* `node['ntp']['drift_log_enabled']` - To log the drift of your system clock into a log file, defaults to `true`
* `node['ntp']['drift_log_location']` - The location of the drift log if enabled, defaults to `/var/lib/ntp/ntp.drift`
* `node['ntp']['log_enabled']` - To seperate out the ntp log from the default syslog provider, defaults to `true`
* `node['ntp']['log_location']` - The location of the log if enabled, defaults to `/var/lib/ntp/ntp.log`

#### Access Controls
The following attributes change how the server responds how the server responds to requests.

* `node['ntp']['ac_default']` - Prevents the free access to the server, defaults `true`
* `node['ntp']['ac_ignore']` - Prevents any packet accessing the ntp server, defaults `false`
* `node['ntp']['ac_kod']` - Enables the sending of the 'kiss-o'death' (KoD) packet when access violations occur, defaults to `true`
* `node['ntp']['ac_limited']` - Denys service if the packet spacing violates the lower limits in the discard command, defaults to `false`
{'fraction_non_alphanumeric': 0.12447454460532462, 'fraction_numerical': 0.005604857543204111, 'mean_word_length': 4.718291054739653, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6972330', 'n_tokens_mistral': 1305, 'n_tokens_neox': 1254, 'n_words': 486}