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

n98-magerun (1) Versions 0.2.2

Installs/Configures n98-magerun.phar

Policyfile
Berkshelf
Knife
cookbook 'n98-magerun', '~> 0.2.2', :supermarket
cookbook 'n98-magerun', '~> 0.2.2'
knife supermarket install n98-magerun
knife supermarket download n98-magerun
README
Dependencies
Quality 17%

n98-magerun Chef Cookbook

A Chef cookbook to install n98-magerun.phar - a CLI for Magento.

Usage

n98-magerun::default installs n98-magerun, e.g. place include_recipe n98-magerun::default in your recipe.
n98-magerun is installed prior to compilation so that it could be used in later recipes.

Attributes

node['n98-magerun']['install_dir'] - path to install to (default /usr/local/bin)
node['n98-magerun']['install_file'] - name of installed binary (default n98-magerun.phar)
node['n98-magerun']['url'] - url to get binary from (default https://raw.github.com/netz98/n98-magerun/master/n98-magerun.phar)
node['n98-magerun']['unstable'] - Specify whether to update to unstable version (using self-update) (default false)

Recipes

n98-magerun::default - Install n98-magerun.

Vagrant

As an aside - I personally use this with Vagrant and have set up a bash function to use a pseudo-tty with magerun in the vagrant box.

e.g. in ~/.bash_profile place:
bash
magerun () {
vagrant ssh -- -t n98-magerun.phar --root-dir=/vagrant $@
}

Open a new bash prompt at your Vagrant project and interact with n98-magerun as if it were local.

$ magerun help
$ magerun cache:clean

Your commands will be run inside the Vagrant box using the n98-magerun config and Magento root defined.
For performance reasons you might like to use the $ magerun shell feature rather than opening a new ssh connection for each command.

Contributing

  • File bug reports via GitHub issues.
  • Pull requests are welcome.
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.2.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.2.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.2.2 failed this metric

FC053: Metadata uses the deprecated "recommends" keyword: n98-magerun/metadata.rb:14
FC064: Ensure issues_url is set in metadata: n98-magerun/metadata.rb:1
FC065: Ensure source_url is set in metadata: n98-magerun/metadata.rb:1
FC066: Ensure chef_version is set in metadata: n98-magerun/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.2.2 passed this metric

Testing File Metric
            

0.2.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.2.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number