Giter Site home page Giter Site logo

chef-sublime-text's Introduction

sublime_text

Build Status

Manage installation & configuration of Sublime-Text.

State

The node['sublime_text']['state'] attribute allow to manage weither sublime-text must be installed or removed.

By default, sublime-text is installed:

default['sublime_text']['state'] = :present

To uninstall it and keeping it removed :

default['sublime_text']['state'] = :absent

Attributes

Attribute Type Default value Description
['sublime_text']['state'] Symbol :present Sublime Text installation state
['sublime_text']['users'] List [] Usersfor who Sublime have to be configured
['sublime_text']['repo']['uri'] String https://download.sublimetext.com/ Download URL
['sublime_text']['repo']['key']['url'] String https://download.sublimetext.com/sublimehq-pub.gpg Repo key URL
['sublime_text']['repo']['distribution'] String apt/stable/ Repository's distribution
['sublime_text']['packages'] List [{name: 'Neon Color Scheme', url: 'https://github.com/MattDMo/Neon-color-scheme/archive/master.zip',}] Packages to isntall
['sublime_text']['syntax_specific'] Hash {JSON: {color_scheme: '"Packages/Neon Color Scheme/Neon.tmTheme"',},} Syntax specific configurations

How to add a package to the intalled packages list

  1. Go to https://packagecontrol.io

  2. Search for the package name you want to install

  3. Click on the link to access the package details page

  4. Click on the homepage link

  5. Click on "Clone or download" green button

  6. Right-click on Download ZIP button, then select "copy link location"

  7. Add the name and the url to ['sublime_text']['packages'] attribute:

{
    "name": "Terraform",
    "url": "https://github.com/alexlouden/Terraform.tmLanguage/archive/master.zip"
}

chef-sublime-text's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.