The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Bug #15090

emacs mode doesn't match style guide when formatting fat comma arrows

Added by micah - over 3 years ago. Updated over 1 year ago.

Status:InvestigatingStart date:06/18/2012
Priority:NormalDue date:
Assignee:James Turnbull% Done:


Target version:-
Affected Puppet version: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:

This ticket is now tracked at:


according to section 9.2 of the style-guide (, “All of the fat comma arrows (=>) in a resource‚Äôs attribute/value list should be aligned. The arrows should be placed one space ahead of the longest attribute name.”

The emacs mode does not do this, for example:

  file { '/etc/rcS.d/S02cleanutmp':
    ensure => absent,
    content => '#!/bin/sh\n rm /var/run/utmp\n';

the above was formatted with the emacs mode, but will receive complaints from puppet-lint due to the => on the ensure parameter line not matching up with the content parameter.


#1 Updated by eric sorenson about 3 years ago

  • Status changed from Unreviewed to Investigating
  • Assignee set to James Turnbull

James, git blame ext/emacs/puppet-mode.el threw you under this particular bus ;)

#2 Updated by Christopher Wood over 1 year ago

Redmine Issue #15090 has been migrated to JIRA:

Also available in: Atom PDF