evandervecht / sublime-text-cookbook

Cookbook for installing Sublime Text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  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

About

Cookbook for installing Sublime Text

License:MIT License


Languages

Language:Ruby 100.0%