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
  • 24 minutes ago
  • 12 years ago

Installs

  • Total 3K
  • Win 681
  • Mac 2K
  • Linux 774
Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23
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