Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

chrony (13) Versions 0.3.0

Installs/Configures chrony, an application used to maintain the accuracy of the system clock (similar to NTPd).

Policyfile
Berkshelf
Knife
cookbook 'chrony', '= 0.3.0', :supermarket
cookbook 'chrony', '= 0.3.0'
knife supermarket install chrony
knife supermarket download chrony
README
Dependencies
Changelog
Quality 33%

chrony cookbook

Build Status Cookbook Version

Configures the time synchronization application chrony as a client or master timeserver, maintaining the accuracy of the system clock (similar to NTP). Isolated networks are supported as well.

Requirements

Platforms

  • Debian / Ubuntu
  • CentOS / Redhat

Chef

  • Chef 13+

Recipes

client

Configures the node to use the chrony application to keep the node's clock synced. If there is a node using the chrony::master recipe, the client will attempt to sync with it. If there is not an available master, the attribute list ['chrony'][:servers] is used (defaults are [0-3].debian.pool.ntp.org). If there is a master node, the ['chrony'][:allowed] and ['chrony']['initslewstep'] will be set to allow for syncing with the master.

default

The default recipe passes through to the client recipe.

master

The node will use the chrony application to provide time to nodes using the chrony::client recipe. The master sets its own time against the attribute list ['chrony'][:servers] (defaults are [0-3].debian.pool.ntp.org). Access to this master is restricted by the ['chrony'][:allowed] attribute set in the recipe (default is to the x.y.* subnet). If the ['chrony'][:servers] are empty, the master will set its ['chrony']['initslewstep'] to the first 3 client nodes returned by search (it will set it to the first 3 ['chrony'][:servers] otherwise).

Usage

Nodes using the chrony::client recipe will attempt to sync time with nodes using the chrony::master recipe. If there are no chrony::master nodes found, the contents of the attribute list ['chrony'][:servers] are used (defaults are [0-3].debian.pool.ntp.org).

The current configurations are supported:
1) Clients with direct NTP server access
2) A master with direct NTP server access with clients pointing to it
3) Isolated master and clients, using the initslewstep to keep the master and clients synced. Manually setting the server's time may be required.

License and Author

Author:: Matt Ray (<matt@@chef.io>)
Contributor:: Dang H. Nguyen (dang.nguyen@disney.com)

Copyright:: 2011-2020 Chef Software, Inc..

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

chrony CHANGELOG

This file is used to list changes made in each version of the chrony cookbook.

0.3.0 (2020-02-10

  • Added full support for CentOS/Redhat 7 & 8
  • Expanded test coverage for Ubuntu, CentOS, and Redhat platforms
  • Segregated templates used to configure chrony.conf for client and master servers

0.2.0 (2018-09-25)

  • This cookbook has been brought back to life now under the chef-cookbooks org. Ideally, we'll rewrite this, but this version is already improved over the previous so we'll be releasing it now. Since this is not 1.0 expect heavy breaking changes in the future.
  • Resolved all Foodcritic and Cookstyle warnings
  • Added very basic ChefSpec
  • Add Travis config + badge
  • Added contributing and testing documentation
  • Moved templates out of the default directory (chef 11-ism)
  • Added name metadata
  • Added chef_version metadata
  • Added source_url and issues_url metadata
  • Added a kitchen config
  • Added a delivery local mode config
  • Updated copyrights to be Chef Software not Opscode

0.1.0

Initial release.

Collaborator Number Metric
            

0.3.0 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.3.0 passed this metric

No Binaries Metric
            

0.3.0 passed this metric

Testing File Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.3.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number