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
  • 55 minutes ago
  • 8 years ago

Installs

  • Total 30K
  • Win 7K
  • Mac 15K
  • Linux 8K
Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 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
Windows 1 2 0 1 1 0 0 0 1 1 1 1 1 0 0 0 1 0 0 2 1 2 0 3 0 0 0 1 1 1 1 0 0 0 1 1 2 2 0 0 0 3 0 1 0 0
Mac 1 6 2 1 0 0 0 2 1 0 1 0 0 2 0 2 3 0 0 0 0 2 0 1 2 1 0 1 2 2 1 2 0 0 1 0 0 0 2 2 0 0 2 4 1 1
Linux 0 0 2 0 0 1 0 2 1 0 1 0 1 2 1 3 1 0 1 2 2 1 1 1 0 0 0 1 1 0 3 0 1 0 0 3 3 0 1 0 0 1 0 2 0 1

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.