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

line (86) Versions 0.2.9

Provides line editing resources for use by recipes

Policyfile
Berkshelf
Knife
cookbook 'line', '= 0.2.9', :supermarket
cookbook 'line', '= 0.2.9'
knife supermarket install line
knife supermarket 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
apparmor Applicable Versions
autofs Applicable Versions
aws-kinesis-agent Applicable Versions
bash_history_timestamp Applicable Versions
cerner_splunk Applicable Versions
chamber-kibana Applicable Versions
checkmk Applicable Versions
chefdk_bootstrap Applicable Versions
cis-el7-l1-hardening Applicable Versions
codenamephp_chef Applicable Versions
dynatrace Applicable Versions
dynatrace-appmon Applicable Versions
elk Applicable Versions
elkstack Applicable Versions
fipsify Applicable Versions
fqdn Applicable Versions
hdp-cloud Applicable Versions
java Applicable Versions
jenkinsstack Applicable Versions
linux-tweak Applicable Versions
mondoo Applicable Versions
network_interfaces Applicable Versions
nfs Applicable Versions
nyan-cat Applicable Versions
ocserv Applicable Versions
openvpnas Applicable Versions
percona Applicable Versions
ps1 Applicable Versions
puncha-kibana Applicable Versions
pyload Applicable Versions
r1337-linux-users Applicable Versions
rails_ubuntu Applicable Versions
rc Applicable Versions
starship Applicable Versions
vpn Applicable Versions
websrv Applicable Versions
yum-plugin-versionlock Applicable Versions
zf2 Applicable Versions

No quality metric results found