cookbook 'chrony_ii', '= 0.5.0'
chrony_ii (13) Versions 0.5.0 Follow1
Installs/Configures chrony
cookbook 'chrony_ii', '= 0.5.0', :supermarket
knife supermarket install chrony_ii
knife supermarket download chrony_ii
Description
Installs/Configures chrony
Requirements
Chef Client:
- chef (>= 12.1)
Platform:
- debian (>= 8.0.0)
- ubuntu (>= 16.04.0)
- centos (>= 7.0.0)
- redhat
- amazon
Cookbooks:
No dependencies defined
Attributes
-
node[cookbook_name]['config']
- chrony.conf value. Hash value can be a string or an array of string. Defaults tocase node['platform_family']
. -
node[cookbook_name]['amazon_time_sync_service']
- Whether to use Amazon Time Sync Service. Defaults tofalse
. -
node[cookbook_name]['config_update_restart']
- Whether to restart chrony daemon after config file change. Defaults totrue
.
Recipes
- chrony_ii::config - Configures application name, path, and configuration file based on platform family.
- chrony_ii::default - Loads necessary recipes.
- chrony_ii::package - Removes competing packages and installs chrony.
- chrony_ii::service - Configures chrony service.
- chrony_ii::systemd_support
chrony_ii::config
Configures application name, path, and configuration file based on platform family.
chrony_ii::default
Loads necessary recipes.
chrony_ii::package
Removes competing packages and installs chrony.
chrony_ii::service
Configures chrony service.
chrony_ii::systemd_support
Provides supporting resources for systemd
Resources
chrony_ii_systemd_dependency
Manages additional chronyd service dependencies in systemd
Actions
- create: Create chronyd service dependencies in systemd Default action.
- delete: Delete chronyd service dependencies in systemd
Attribute Parameters
- systemd_system_dir: systemd's system config directory path
- wants: systemd service 'Wants=' targets with symlinks to 'chronyd.service.wants' Defaults to <code>"network-online.target"</code>.
- after: systemd service 'After=' targets with symlinks to 'chronyd.service.after' Defaults to <code>"network-online.target"</code>.
Examples
include_recipe 'chrony_ii::systemd_support' chrony_ii_systemd_dependency '/usr/lib/systemd/system'
include_recipe 'chrony_ii::systemd_support' chrony_ii_systemd_dependency '/usr/lib/systemd/system' do wants 'x.target y.target' after 'x.target' end
Deprecation Notice
We are planning to migrate from attribute and recipe-based cookbook to custom resource-based cookbook.
Most recipes will be deprecated after providing custom resources.
For custom resource's unified_mode
feature mandatory for Chef 17, the next major update requires Chef >= 15.3.0.
Usage
If you are fine with using the public NTP servers you can simply include chrony_ii
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[chrony_ii]" ] }
If you need to control your configuration use a role.
License and Maintainer
Maintainer:: Tomoya Kabe (kabe@elastic-infra.com)
Source:: https://github.com/elastic-infra/chrony_ii
Issues:: https://github.com/elastic-infra/chrony_ii/issues
License:: MIT
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Changelog
v0.5.0 (2021-11-04)
Merged pull requests:
v0.4.0 (2020-06-02)
Merged pull requests:
v0.3.1 (2020-01-25)
Merged pull requests:
v0.3.0 (2019-05-29)
Closed issues:
- Template should be put into template/defaults #13
Merged pull requests:
- Chef license #16 (limitusus)
- rubocop: v0.70.0 #15 (limitusus)
- Move templates into default/ #14 (limitusus)
v0.2.0 (2019-03-20)
Merged pull requests:
- Use pools when supported #12 (limitusus)
- TravisCI platform is Trusty #9 (limitusus)
- Support Ubuntu Trusty #8 (limitusus)
- TravisCI has updated to Xenial #7 (limitusus)
- Fix tests #6 (limitusus)
- Updated MarkDown format to display properly on supermarket.chef.io. A… #5 (bcorner13)
v0.1.0 (2018-01-18)
Merged pull requests:
* This Changelog was automatically generated by github_changelog_generator
Collaborator Number Metric
0.5.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.5.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.5.0 passed this metric
No Binaries Metric
0.5.0 passed this metric
Testing File Metric
0.5.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.5.0 passed this metric
0.5.0 failed this metric
0.5.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.5.0 passed this metric
No Binaries Metric
0.5.0 passed this metric
Testing File Metric
0.5.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.5.0 passed this metric
0.5.0 passed this metric
0.5.0 passed this metric
Testing File Metric
0.5.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.5.0 passed this metric
0.5.0 failed this metric
0.5.0 passed this metric