cookbook 'dkron', '= 0.3.0'
dkron (11) Versions 0.3.0 Follow1
Installs and configures dkron server or agent
cookbook 'dkron', '= 0.3.0', :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.1
- Ubuntu 14.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 ~> 1.0 |
runit ~> 1.7 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
dkron cookbook changelog
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
Foodcritic Metric
0.3.0 passed this metric
0.3.0 passed this metric