cookbook 'etckeeper', '= 0.0.2'
etckeeper (7) Versions 0.0.2 Follow6
Installs/Configures etckeeper
cookbook 'etckeeper', '= 0.0.2', :supermarket
knife supermarket install etckeeper
knife supermarket download etckeeper
Description
Install and configure etckeeper. Add cron task for every day commit & push changes to remote repo.
Thanks to alekschumakov88, who created the first version of this cookbook.
Requirements
recipe['cron']
Attributes
default['etckeeper']['git_host'] = "github.com" default['etckeeper']['git_port'] = "22" default['etckeeper']['git_repo'] = "etckeeper" default['etckeeper']['git_branch'] = node['fqdn']
Usage
- Make key and copy to ./files/default as etckeeper_key
- Set at atribute for git repo. For example
default['etckeeper']['git_repo'] = "myuser/myrepo.git"
- Add to run_list
recipe['etckeeper']
TODO
- Add more info
- Make more flexible work with keys. Change files to attributes or data_bags
Dependent cookbooks
cron >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.