A Sublime Text 2 Package for authoring Chef related files
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Common Actions
Common Attributes
Conditional Execution
Cookbook File
Cron
Deploy
Directory
Env
Erlang Call
Execute
File making generated resources pass rubocop Feb 17, 2015
Group
HTTP Request
Include
Link
Log
Mdadm
Metadata
Mount
Notifications
Ohai
Package
Remote Directory making generated resources pass rubocop Feb 17, 2015
Remote File Update all resource auto-completes to use single-quotes instead of do… Jan 25, 2015
Roles Update all resource auto-completes to use single-quotes instead of do… Jan 25, 2015
Ruby Block
SCM
Script
Service making generated resources pass rubocop Feb 17, 2015
Template
User
.gitignore Ignore Mac OS X files May 2, 2012
README.md
SublimeChef.sublime-completions
SublimeChef.sublime-project

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