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

RSS

line (24) Versions 0.2.10

Provides line editing resources for use by recipes

Berkshelf/Librarian
Policyfile
Knife
cookbook 'line', '= 0.2.10'
cookbook 'line', '= 0.2.10', :supermarket
knife cookbook site install line
knife cookbook site download line
README
Dependencies
Quality

line cookbook

Motivation

Quite often, the need arises to do line editing instead of managing an entire file with a template resource. This cookbook supplies various resources that will help you do this.

Usage

Add "depends 'line'" to your cookbooks metadata.rb to gain access to the resoures.

append_if_no_line "example 1" do file "/tmp/dangerfile" string "HI THERE I AM STRING" end

replace_or_add "ipv4 localhost hosts entry" do path "/etc/hosts" pattern "Why hello there.*" line "Why hello there you beautiful person, you." end

Notes

So far, the only resource implemented are

  • append_if_no_line.
  • Planned future resources will include:

  • append_if_no_line

  • comment_lines_matching

  • uncomment_lines_matching

  • delete_lines_matching

Recipes

tester - A recipe to exercise the resources

Author

Author:: Sean OMeara (someara@opscode.com)

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

al_agents Applicable Versions
autofs Applicable Versions
aws-kinesis-agent Applicable Versions
bash_history_timestamp Applicable Versions
chamber-kibana Applicable Versions
chefdk_bootstrap Applicable Versions
cis-el7-l1-hardening Applicable Versions
dynatrace Applicable Versions
elk Applicable Versions
elkstack Applicable Versions
fipsify Applicable Versions
fqdn Applicable Versions
jenkinsstack Applicable Versions
linux-tweak Applicable Versions
nfs Applicable Versions
nyan-cat Applicable Versions
ocserv Applicable Versions
openvpnas Applicable Versions
ps1 Applicable Versions
puncha-kibana Applicable Versions
rc Applicable Versions
zf2 Applicable Versions

No quality metric results found