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

Puppet

by russCloak ST2/ST3

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

Details

  • 2017.09.16.01.45.09
  • github.​com
  • github.​com
  • 7 months ago
  • 47 minutes ago
  • 5 years ago

Installs

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

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.