Automatically executes the Puppet syntax check on any puppet modules that you save.
{
// 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": []
}
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