Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

etckeeper (7) Versions 1.0.3

Installs/Configures etckeeper

Policyfile
Berkshelf
Knife
cookbook 'etckeeper', '= 1.0.3', :supermarket
cookbook 'etckeeper', '= 1.0.3'
knife supermarket install etckeeper
knife supermarket download etckeeper
README
Dependencies
Quality 0%

Description

Install and configure etckeeper.
Thanks to alekschumakov88 for begining.
And thank maintainers from TYPO3 Association:
* Steffen Gebert
* Bastian Bringenberg
* Peter Niederlag

Requirements

  • recipe['chef_handler']
  • recipe['git']

Attributes

default['etckeeper']['git_host'] = "github.com"
default['etckeeper']['git_port'] = "22"
default['etckeeper']['git_repo'] = "etckeeper"
default['etckeeper']['git_branch'] = node['fqdn']

default['etckeeper']['use_remote'] = true

Usage

  • Add to run_list recipe['etckeeper'] for local using etckeeper
  • Set ['use_remote'] to true for daily auto push to remote:
    • Make ssh key and copy to ./files/default/etckeeper_key
    • Set your git_host and git_port if your need
    • Set at atribute for git repo. For example github repo default['etckeeper']['git_repo'] = "myuser/myrepo.git"

Etckeeper::Commit

This recipe will do two things

  • In the beginning of the chef-run, check if /etc is unclean. If yes, fail the chef-run.
  • After the chef-run, a report handler will commit the changes made to /etc during this chef-run.

Changelog

1.0.2

  • Use StrictHostKeyChecking for disable authenticity host checking

1.0.1

  • Merge with TYPO3
  • Remove unnecessary attributes
  • Remove manual adding cron task - only change cron.daily screept if use remote
  • Change from post-install push - to commit push
  • Remove init from config. Now remote checking on etcekeeper commit hook
  • Few renames for simple code view

Dependent cookbooks

chef_handler >= 0.0.0
git >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

1.0.3 failed this metric

FC019: Access node attributes in a consistent manner: /tmp/cook/828f960241d01d81ece6f65a/etckeeper/recipes/commit.rb:23
FC019: Access node attributes in a consistent manner: /tmp/cook/828f960241d01d81ece6f65a/etckeeper/recipes/commit.rb:29
FC019: Access node attributes in a consistent manner: /tmp/cook/828f960241d01d81ece6f65a/etckeeper/recipes/commit.rb:35
FC023: Prefer conditional attributes: /tmp/cook/828f960241d01d81ece6f65a/etckeeper/recipes/config.rb:36