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

sublime-text (6) Versions 0.1.2

Installs/Configures Sublime Text

Policyfile
Berkshelf
Knife
cookbook 'sublime-text', '= 0.1.2', :supermarket
cookbook 'sublime-text', '= 0.1.2'
knife supermarket install sublime-text
knife supermarket download sublime-text
README
Dependencies
Changelog
Quality 0%

sublime-text-cookbook

Cookbook for installing Sublime Text

Supported Platforms

  • Ubuntu 14.04
  • OS X

Attributes

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td>node['sublime-text']['version']['generation']</td>
<td>integer</td>
<td>The generation of Sublime Text to install. Currently supports 2 and 3</td>
<td>2</td>
</tr>
<tr>
<td>node['sublime-text']['version']['id']</td>
<td>string</td>
<td>The version id of Sublime Text to install. For Sublime Text 2, this will be a version number, and for Sublime Text 3 this will be a build number. An appropriate default will be selected for each generation.</td>
<td>'2.0.2' (2) or 'Build 3065' (3)</td>
</tr>
<tr>
<td>node['sublime-text']['platform']['release']</td>
<td>string</td>
<td>The release of ubuntu being installed to (if applicable)</td>
<td>'trusty'</td>
</tr>
<tr>
<td>node['sublime-text']['platform']['architecture']</td>
<td>string</td>
<td>The hardware architecture</td>
<td>'amd64'</td>
</tr>
</table>

Usage

sublime-text::default

Include sublime-text in your node's run_list:

{
  "run_list": [
    "recipe[sublime-text]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

License: MIT

Dependent cookbooks

apt >= 2.4

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.2

  • Added OS X functionality (contributed by 0x783czar)
  • Relaxed apt dependency to allow >= 2.4 instead of ~> 2.4 (contributed by obazoud)

0.1.1

Initial release of sublime-text-cookbook

Foodcritic Metric
            

0.1.2 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cb14291bf46e8a778f9f2424/sublime-text/recipes/default.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/cb14291bf46e8a778f9f2424/sublime-text/recipes/default.rb:13
FC019: Access node attributes in a consistent manner: /tmp/cook/cb14291bf46e8a778f9f2424/sublime-text/recipes/default.rb:11
FC019: Access node attributes in a consistent manner: /tmp/cook/cb14291bf46e8a778f9f2424/sublime-text/recipes/default.rb:13