This repository has been archived by the owner. It is now read-only.
Chef cookbook to install The Silver Searcher
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
recipes
spec
test/integration/default/serverspec
.gitignore
.kitchen.yml
.rspec
.rubocop.yml
Berksfile
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
Rakefile
chefignore
metadata.rb

README.md

UNMAINTAINED

This cookbook is unmaintained. Use at your own risk.

the_silver_searcher cookbook

Builds The Silver Searcher from source.

Requirements

This cookbook supports Debian and Red Hat platform families. It is tested on the two most recent major versions of CentOS, the most recent stable version of Debian, the most recent version of Fedora supporting yum, the current and previous LTS versions of Ubuntu, and the most recent version of Ubuntu.

It depends on the build_essential cookbook which recommends, on Debian platform family systems, to run an apt-get update before running it to ensure that the latest version is installed. See the note there for further instructions.

Usage

Include recipe[the_silver_searcher] in a run list.

Attributes

  • [:the_silver_searcher][:version] = version number to install

  • [:the_silver_searcher][:checksum] = checksum of tar.gz source for this version

  • [:the_silver_searcher][:url] = url of tar.gz source

  • [:the_silver_searcher][:build_opt] = options to pass to build.sh, e.g. to install to a different prefix, use '--prefix=/opt/the_silver_searcher'

Recipes

  • default - installs The Silver Searcher to /usr/local/bin/ag

Author

Author:: Mark Cornick (mailto:mark@markcornick.com)

Contributors

Thanks to:

  • @muratayusuke (Yusuke Murata)
  • @byplayer