Skip to content

alister/puppet-sublimetext2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Puppet module: SublimeText2 and plugins

Written by Alister Bulman, abulman@gmail.com

Official site & Git repo: http://github.com/alister/puppet-sublimetext2

Released under the terms of Apache 2 License.

USAGE - Basic management

  • Install sublime-text-2 with the given (required!) settings

    class { sublimetext2::params: userName => 'alister', # me, on Ubuntu 12.04 installBasePath => "/home/alister/.config/sublime-text-2/Packages" } class { sublimetext": }

USAGE - Overrides and Customizations

Install to a given path, and then add a plugin.

NOTE: Until the editor has been started, the configuration directory does not exist. SO, the plugin portion of the manifests won't work till sublime-text has been run at least once.

# these must be set
class { sublimetext2::params:
  userName        => 'alister',
  installBasePath => "/home/alister/.config/sublime-text-2/Packages"
  # @TODO given the userName, and the OS, we could probably work out the 
  # installBasePath in ::params ??
}
# also required (currently installs the dev package from a PPA)
include sublimetext2
  sublimetext2::plugin { 'DocBlockr':
  gitUrl  => 'https://github.com/spadgos/sublime-jsdocs.git'
}
# could probably install PackageManager in much the same way.

See also my own puppet manifests

About

Install sublimetext2 & packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages