Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Sublime Text 2 Package for authoring Chef related files

branch: master

Merge pull request #9 from tas50/master

Update metadata to match current standards
latest commit 547e9ca462
Miguel Cabeça authored
Octocat-spinner-32 Common Actions Removed extra newline in one-line attributes. May 03, 2012
Octocat-spinner-32 Common Attributes Removed extra newline in one-line attributes. May 03, 2012
Octocat-spinner-32 Conditional Execution Added Conditional Execution folder. Moved related files to this folder. May 02, 2012
Octocat-spinner-32 Cookbook File Convert all 5-digit permissions to quoted strings September 30, 2013
Octocat-spinner-32 Cron Added Cron folder May 02, 2012
Octocat-spinner-32 Deploy Add Deploy and SCM folders. May 03, 2012
Octocat-spinner-32 Directory Convert all 5-digit permissions to quoted strings September 30, 2013
Octocat-spinner-32 Env Added Env folder. May 02, 2012
Octocat-spinner-32 Erlang Call Added Erlang Call folder. May 02, 2012
Octocat-spinner-32 Execute Added Execute folder. Moved related files to this folder. May 02, 2012
Octocat-spinner-32 File Convert all 5-digit permissions to quoted strings September 30, 2013
Octocat-spinner-32 Group Add User and Group folders. May 03, 2012
Octocat-spinner-32 HTTP Request Added HTTP Request, Link and Log folders. May 03, 2012
Octocat-spinner-32 Include Added include_recipe snippet. July 05, 2012
Octocat-spinner-32 Link Added HTTP Request, Link and Log folders. May 03, 2012
Octocat-spinner-32 Log Added HTTP Request, Link and Log folders. May 03, 2012
Octocat-spinner-32 Mdadm Corrected indentation on some snippets. May 03, 2012
Octocat-spinner-32 Metadata Update metadata to match current standards November 13, 2013
Octocat-spinner-32 Mount Added Mdadm, Mount and Ohai folders. May 03, 2012
Octocat-spinner-32 Notifications Corrected usage of immediately timing function. July 09, 2012
Octocat-spinner-32 Ohai Added Mdadm, Mount and Ohai folders. May 03, 2012
Octocat-spinner-32 Package Added Package folder. Moved related files to this folder. May 03, 2012
Octocat-spinner-32 Remote Directory Convert all 5-digit permissions to quoted strings September 30, 2013
Octocat-spinner-32 Remote File Convert all 5-digit permissions to quoted strings September 30, 2013
Octocat-spinner-32 Roles Added Roles folder. Useful for creating role files using ruby DSL. May 08, 2012
Octocat-spinner-32 Ruby Block Added Ruby Block folder. May 03, 2012
Octocat-spinner-32 SCM Add Deploy and SCM folders. May 03, 2012
Octocat-spinner-32 Script Corrected indentation on some snippets. May 03, 2012
Octocat-spinner-32 Service Created Service folder. Moved related files to this folder. May 03, 2012
Octocat-spinner-32 Template Convert all 5-digit permissions to quoted strings September 30, 2013
Octocat-spinner-32 User Add User and Group folders. May 03, 2012
Octocat-spinner-32 .gitignore Ignore Mac OS X files May 02, 2012
Octocat-spinner-32 README.md Added metadata snippets. July 05, 2012
Octocat-spinner-32 SublimeChef.sublime-completions Removed completions since they are no longer necessary. Completions a… May 03, 2012
Octocat-spinner-32 SublimeChef.sublime-project Add settings to sublime project May 02, 2012
README.md

SublimeChef

A Sublime Text 2 Package for authoring Chef related files.

This Package provides several code snippets designed to make writing chef recipes faster and even more fun. Each snippet has sensible defaults, carefully chosen placeholders, and several variations to cover almost all of your recipe needs.

Maybe this is better explained with a youtube demo video.

Install

If you have Package Control installed in Sublime Text 2 just press ctrl+shift+p (Windows, Linux) or cmd+shift+p (OS X) to open the Command Pallete. Start typing 'install' to select 'Package Control: Install Package', then search for Chef and select it. That's it.

You can also install this package manually by entering the Packages directory of Sublime Text 2 and issuing on a terminal:

git clone https://github.com/cabeca/SublimeChef Chef

Completions

These are the available completions:

actionn
ignoref
provider
retries
supports
not_ifd
not_if
only_ifd
only_if
cookbook_filef
cookbook_file
cronf
cron
deploy
directoryf
directoryr
directory
env
erl_call
executef
executen
execute
filec
filef
file
groupa
group
http_requestp
http_request
include_recipe
linkf
linkh
link
logd
log
mdadm
metadataf
metadata
mountf
mountl
mountn
mount
notifiesi
notifies
subscribesi
subscribes
ohaip
ohai
packageo
packager
packagev
package
remote_filef
remote_filem
remote_file
remote_directoryf
remote_directory
ruby_block
git
subversion
bash
perl
python
role
ruby
script
servicep
service
templatev
template
user
Something went wrong with that request. Please try again.