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/layers/+tools/puppet
syl20bnr 564cbc40ed core: better behavior for dotspacemacs-download-packages
See end of this message for important breaking changes.

Previous behavior was to configure any installed package which caused
a lot of bad side effects and could make spacemacs unusable. This
behavior made little sense and does not fit with spacemacs.

This commit fixes this behavior by separating installed packages from
configured packages. In short dostspacemacs-download-packages variable
now only affect package installation. Packages are now configured if and
only if they are effectively *used* (i.e. listed in variable
dotspacemacs-configuration-layers or dotspacemacs-additional-packages).

IMPORTANT CHANGE: functions `configuration-layer/declare-used-layer` and
`configuration-layer/declare-used-layers` have been removed. These
functions have been introduced in develop branch only so the impact
should be minimal.
2016-08-19 21:04:33 -03:00
..
img Replace +config-files category by +tools category 2016-06-09 23:56:09 -04:00
config.el Replace +config-files category by +tools category 2016-06-09 23:56:09 -04:00
layers.el core: better behavior for dotspacemacs-download-packages 2016-08-19 21:04:33 -03:00
packages.el Replace +config-files category by +tools category 2016-06-09 23:56:09 -04:00
README.org Replace +config-files category by +tools category 2016-06-09 23:56:09 -04:00

Puppet layer

/TakeV/spacemacs/media/commit/b8745c316e5241241e48655a9591402da165524e/layers/+tools/puppet/img/puppet.png

Description

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

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add puppet to the existing dotspacemacs-configuration-layers list in this file.

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.