Thursday, April 19, 2012

You got your programming in my systems administration

You've got Puppet.  You got your emacs.  This is how to make them play nice together.

Get puppet-mode.el here.

Edit .emacs like so

(when
(load
(expand-file-name "~/.emacs.d/puppet/puppet-mode.el"))
(package-initialize))

(setq auto-mode-alist (cons '("\\.pp$" . puppet-mode) auto-mode-alist))


And voy-la - .pp files are now pretty and tab correctly automagically.
blog comments powered by Disqus