sublime-text-cookbook
Cookbook for installing Sublime Text
Supported Platforms
- Ubuntu 14.04
- OS X
- RHEL families (RHEL, CentOS, Scientific)
Attributes
Key | Type | Description | Default |
---|---|---|---|
node['sublime-text']['version']['generation'] | integer | The generation of Sublime Text to install. Currently supports 2 and 3 | 2 |
node['sublime-text']['version']['id'] | string | 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. | '2.0.2' (2) or 'Build 3065' (3) |
node['sublime-text']['platform']['release'] | string | The release of ubuntu being installed to (if applicable) | 'trusty' |
node['sublime-text']['platform']['architecture'] | string | The hardware architecture | 'amd64' |
node['sublime-text']['tarball']['uri'] | string | The location for Sublime Text tarballs used for linux installation. Override node['sublime-text']['platform']['architecture'] with 'x64', otherwise will default to 32 bit installation | 'http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.tar.bz2' |
node['sublime-text']['linux']['install_dir'] | string | Installation directory used in linux | '/opt' |
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)