ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Puppet Syntax checking

by Stubbs ST2

Auto-check Puppet module syntax when you save a puppet module.

Details

  • 2014.12.05.14.06.32
  • github.​com
  • github.​com
  • 10 years ago
  • 54 minutes ago
  • 11 years ago

Installs

  • Total 3K
  • Win 681
  • Mac 2K
  • Linux 774
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Puppet Syntax Checker for Modules

Checks Puppet modules for syntax errors when you save a module.

Usage

Automatically executes the Puppet syntax check on any puppet modules that you save.

Settings

{
    // Plugin settings

    // Turn the debug output on/off
    "show_debug": true,

    // Use an alternative path for the puppet executable
    "puppet_path": "/usr/bin/puppet", 

    // These setting control when & if any errors detected are shown.
    "puppetsyntax_show_gutter_marks": true,
    "puppetsyntax_outline_for_errors": true,
    "puppetsyntax_show_errors_on_save": true,
    "puppetsyntax_show_quick_panel": false,

    // Pass any extra optional parameters to Puppet.
    "puppetsyntax_additional_args": []
}

Installation

Use Sublime Text’s Package Control (Preferences -> Package Control -> Install Package -> Puppet Syntax checking) to install this plugin. This is the recommended installation path.

Or

Simply checkout the git repo into “~/Library/Application Support/Sublime Text 2/Packages/ or the equivalent folder on Windows or Linux.

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git@github.com:Stubbs/sublime-puppet-syntax.git Puppet-Syntax