cookbook 'sublime-text', '~> 0.1.5'
sublime-text (6) Versions 0.1.5 Follow2
Installs/Configures Sublime Text
cookbook 'sublime-text', '~> 0.1.5', :supermarket
knife supermarket install sublime-text
knife supermarket download sublime-text
sublime-text Cookbook
Cookbook for installing Sublime Text
Supported Platforms
- Ubuntu 14.04
- OS X
- RHEL families (RHEL, CentOS, Scientific)
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>
<tr>
<td>node['sublime-text']['tarball']['uri']</td>
<td>string</td>
<td>The location for Sublime Text tarballs used for linux installation. Override node['sublime-text']['platform']['architecture'] with 'x32', otherwise will default to 64 bit installation</td>
<td>'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2'</td>
</tr>
<tr>
<td>node['sublime-text']['linux']['install_dir']</td>
<td>string</td>
<td>Installation directory used in linux</td>
<td>'/opt'</td>
</tr>
</table>
Usage
sublime-text::default
Include sublime-text
in your node's run_list
:
{ "run_list": [ "recipe[sublime-text]" ] }
Contributing
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
License and Authors
License: MIT
- Patrick Ayoup (patrick.ayoup@gmail.com)
- 0x783czar (Github)
- obazoud (Github)
- taylor-benson (Github)
Dependent cookbooks
apt >= 2.4 |
ark >= 0.9.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
0.1.5
- Fix spelling derp
0.1.4
- Add icon for linux desktop, default to x64 instead of 32
0.1.3
- Added support for rhel family distros (RHEL, CentOS, etc), updated maintainer
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
Collaborator Number Metric
0.1.5 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.5 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
Cookstyle Metric
0.1.5 failed this metric
Chef/Correctness/InvalidPlatformMetadata: metadata.rb "supports" platform is invalid (https://docs.chef.io/workstation/cookstyle/chef_correctness_invalidplatformmetadata): sublime-text/metadata.rb: 9
Chef/Modernize/LegacyBerksfileSource: Do not use legacy Berksfile community sources. Use Chef Supermarket instead. (https://docs.chef.io/workstation/cookstyle/chef_modernize_legacyberksfilesource): sublime-text/Berksfile: 1
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): sublime-text/metadata.rb: 6
Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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.1.5 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
0.1.5 failed this metric
0.1.5 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
Cookstyle Metric
0.1.5 failed this metric
Chef/Correctness/InvalidPlatformMetadata: metadata.rb "supports" platform is invalid (https://docs.chef.io/workstation/cookstyle/chef_correctness_invalidplatformmetadata): sublime-text/metadata.rb: 9
Chef/Modernize/LegacyBerksfileSource: Do not use legacy Berksfile community sources. Use Chef Supermarket instead. (https://docs.chef.io/workstation/cookstyle/chef_modernize_legacyberksfilesource): sublime-text/Berksfile: 1
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): sublime-text/metadata.rb: 6
Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations
No Binaries Metric
0.1.5 passed this metric
Testing File Metric
0.1.5 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.1.5 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
0.1.5 failed this metric
Chef/Modernize/LegacyBerksfileSource: Do not use legacy Berksfile community sources. Use Chef Supermarket instead. (https://docs.chef.io/workstation/cookstyle/chef_modernize_legacyberksfilesource): sublime-text/Berksfile: 1
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): sublime-text/metadata.rb: 6
Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations
0.1.5 passed this metric
Testing File Metric
0.1.5 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.1.5 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
0.1.5 failed this metric
0.1.5 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