Skip to content

jackscott/salt-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Salt Mode

License GPL 3

Salt Mode lets you edit Salt states with GNU Emacs 24.

Salt Mode is a major mode for GNU Emacs 24 which adds support for Salt state syntax. Salt is a different approach to infrastructure management, founded on the idea that high-speed communication with large numbers of systems can open up new capabilities by SaltStack. On top of this communication system, Salt provides an extremely fast, flexible, and easy-to-use configuration management system called Salt States.

This mode has only been tested in GNU Emacs 24. It may not work with GNU Emacs 23 and below, or with other flavors of Emacs (e.g. XEmacs).

This uses mmm-mode and mmm-jinja2 to hook up Jinja2 templates into YAML (essentially what SaltStack files are).

Features

  1. Syntax highlighting
  2. Indentation and alignment of expressions and statements
  3. Jinja Templating Support

Installation

From MELPA or MELPA Stable with M-x package-install RET salt-mode.

Usage

Just visit Salt state files. The major mode is enabled automatically for Salt states with the extension .sls.

Support

Feel free to ask question or make suggestions in the issue tracker.

Contribute

License

Salt Mode is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Salt Mode is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See COPYING for the complete license.

About

Edit Salt States with GNU Emacs 24

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published