This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/contrib/!config/puppet
Nate Wolfe 30173da11f (PUPPET) Add Puppetfile support
This commit enables syntax highlighting for Puppetfiles via the
puppetfile-mode package.

A Puppetfile is the configuration file used by librarian-puppet and
r10k for Puppet module management a la Ruby's Bundler.
2015-06-14 22:14:18 -04:00
..
img Prefix categories with ! 2015-05-25 00:50:38 -04:00
config.el Prefix categories with ! 2015-05-25 00:50:38 -04:00
packages.el (PUPPET) Add Puppetfile support 2015-06-14 22:14:18 -04:00
README.org (PUPPET) Add Puppetfile support 2015-06-14 22:14:18 -04:00

Puppet contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/d7c7acde3a9a4907e72c378b8c516c461d92d32c/contrib/!config/puppet/img/puppet.png

Table of Contents   TOC@4

Description

This layer aims at providing support for the Puppet DSL using puppet-mode.

Features

Puppetfile support via puppetfile-mode

Install

To use this contribution add it to your ~/.spacemacs

  (setq-default dotspacemacs-configuration-layers '(puppet))

Key bindings

The following key bindings are available in Puppet Mode:

Key Binding Description
SPC m { Move to the beginning of the current block
SPC m } Move to the end of the current block
SPC m a Align parameters in the current block
SPC m ' Toggle string quoting between single and double
SPC m ; Blank the string at point
SPC m j Jump to a class, define, variable or resource
SPC m c Apply the current manifest in dry-run mode
SPC m v Validate the syntax of the current manifest
SPC m l Check the current manifest for semantic issues
SPC m $ Interpolate with ${} in double quoted strings

Use M-x customize-group RET puppet to customize Puppet Mode.