cookbook 'dkron', '~> 0.3.4'
dkron (11) Versions 0.3.4 Follow1
Installs and configures dkron server or agent
cookbook 'dkron', '~> 0.3.4', :supermarket
knife supermarket install dkron
knife supermarket download dkron
dkron chef cookbook
Dkron (http://dkron.io/) is a distributed cron system. This cookbook can be
used to setup a Dkron server or agent.
Dependencies
- ark
- runit
Recipes
Only a default recipe is provided. It installs dkron, sets up a service and
creates a config file. To control, whether the node will be a server or just
an agent, use the node['dkron']['config']['server']
attribute.
The recipe does not handle the setup of the key value store for dkron. You
can do that in your role or wrapper recipe. Supported backend stores are
Etcd, Consul and Zookeeper. Default is Etcd.
Attributes
See atributes/default.rb
.
Testing
A test suite is available using rubocop, foodcritic and kitchen. To run static
analysis tests, issue
bundle exec rake test:quick
To run full suite including kitchen tests, issue
bundle exec rake test:complete
Tested platforms
- CentOS 7.3
- Ubuntu 16.04
License and Authors
Copyright 2016 Internet Mall, a.s.
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.
Authors:
- Michal Taborsky michal.taborsky@mall.cz
Dependent cookbooks
ark >= 0.0.0 |
runit >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
dkron cookbook changelog
v0.3.4 (2016-12-29)
- bump default version to 0.9.2
- relaxed dependency constraints to not step on any toes
v0.3.3 (2016-09-29)
- bump default version to 0.9.1
v0.3.2 (2016-08-24)
- bump default version to 0.9.0
v0.3.1 (2016-08-01)
- bump default version to 0.7.3
- kitchen test on CentOS 7.2
v0.3.0 (2016-04-11)
- bump default version to 0.7.0
- added issues_url to metadata.rb
- bump ark dependency to 1.0
v0.2.3 (2016-02-25)
- bump default version to 0.6.4
- improve tests
v0.2.2 (2015-12-29)
- bump default version to 0.6.3
v0.2.1 (2015-12-23)
- bump default version to 0.6.2
v0.2.0 (2015-12-21)
- add Berkshelf support and be more strict about dependencies
- simplify server/agent configuration
- bump default version to 0.6.1
v0.1.1 (2015-12-15)
- fix tag configuration
v0.1.0
- Initial release
Collaborator Number Metric
0.3.4 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.4 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.4 failed this metric
FC066: Ensure chef_version is set in metadata: dkron/metadata.rb:1
FC069: Ensure standardized license defined in metadata: dkron/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.4 passed this metric
Testing File Metric
0.3.4 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.4 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
0.3.4 failed this metric
0.3.4 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.4 failed this metric
FC066: Ensure chef_version is set in metadata: dkron/metadata.rb:1
FC069: Ensure standardized license defined in metadata: dkron/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.4 passed this metric
Testing File Metric
0.3.4 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.4 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
0.3.4 failed this metric
FC069: Ensure standardized license defined in metadata: dkron/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.4 passed this metric
Testing File Metric
0.3.4 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.4 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
0.3.4 failed this metric
0.3.4 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