cookbook 'chrony_ii', '= 0.1.0'
chrony_ii (10) Versions 0.1.0 Follow0
Installs/Configures chrony
cookbook 'chrony_ii', '= 0.1.0', :supermarket
knife supermarket install chrony_ii
knife supermarket download chrony_ii
chrony_ii cookbook
This cookbook installs chrony.
Requirements
platforms
- debian >= 8
- debian7 should work but the installed version (v1.24) is too old to run on Linux 4.x (for CI)
- ubuntu >= 16.04
- centos >= 6
- redhat
- amazon
Attributes
chrony_ii::config
<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>['chrony_ii']['config']</tt></td>
<td>Hash</td>
<td>chrony.conf value. Hash value can be a string or an array of string.</td>
<td><tt>Depends on platform (see attributes/default.rb
)</tt></td>
</tr>
<tr>
<td><tt>['chrony_ii']['amazon_time_sync_service']</tt></td>
<td>Boolean</td>
<td>Whether to use <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html#configure-amazon-time-service">Amazon Time Sync Service</a></td>
<td>false</td>
</tr>
<tr>
<td><tt>['chrony_ii']['config_update_restart']</tt></td>
<td>Boolean</td>
<td>Whether to restart chrony daemon after config file change</td>
<td>true</td>
</tr>
</table>
Usage
chrony_ii::default
Just include chrony_ii
in your node's run_list
:
json
{
"name":"my_node",
"run_list": [
"recipe[chrony_ii]"
]
}
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Tomoya Kabe
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
License Metric
0.1.0 passed this metric
0.1.0 passed this metric