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

Puppet

by russCloak ALL

Puppet (puppetlabs.com) highlighting, snippets and completion for Sublime Text 2 or 3

Details

  • 2018.08.03.05.56.32
  • github.​com
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 7 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

SublimePuppet

Puppet highlighting, snippets and completion for Sublime Text 2 & 3.

Now with Windows parsing support.

Plugin installation

Package Manager

First, install the Package Control plugin, instructions here: https://packagecontrol.io/installation

Once you install Package Control, restart ST2 and bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on Linux/Windows).

Select “Package Control: Install Package”, wait while Package Control fetches the latest package list, then select SublimePuppet when the list appears. The advantage of using this method is that Package Control will automatically keep SublimePuppet up to date with the latest version.

Manual

Sublime Puppet can be manually installed to your Sublime Text “Packages” directory. You can find and open the “Packages” directory from the Sublime Text menu at:

Preferences | Browse Packages…

Then download the code into place from the Git version control repository or by directly downloading a snapshot of the latest code:

With Git:

  1. Change your working directory to the Sublime Text “Packages” directory
  2. Clone the repository into your Sublime Text “Packages” directory:

    git clone https://github.com/russCloak/SublimePuppet.git
    

Without Git:

  1. Download the latest SublimePuppet source code archive.
  2. Unpack the downloaded archive to a local folder somewhere.
  3. Rename the unpacked folder SublimePuppet-master to the new name SublimePuppet.
  4. Move the SublimePuppet folder into your Sublime Text “Packages” directory.

Puppet installation

This SublimePuppet package requires Puppet be intalled on your system in order to run syntax check commands. Follow the steps outlined in the Puppet Labs guide to Installing Puppet.

Contributing

If you would like to contribute enhancements or fixes, please do the following:

  1. Fork the SublimePuppet package Github repository.
  2. Hack on a separate topic branch created from the latest master branch.
  3. Commit and push your topic branch to your forked remote repository.
  4. Make a pull request on Github with a
    1. short descriptive title.
    2. description outlining the purpose of your changes.
  5. Be patient. ;-)

Please note that modifications should follow these coding guidelines:

  • Indent is 4 spaces.
  • Indent using spaces only.
  • Code should pass flake8 and pep257 linters.
  • Vertical whitespace helps readability, don’t be afraid to use it.
  • Please use descriptive variable names, no abbreviations unless they are very well known.