The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Refactor #8923

Ordering syntax can be easy to miss

Added by Anonymous about 3 years ago. Updated about 2 years ago.

Status:InvestigatingStart date:08/11/2011
Priority:NormalDue date:
Assignee:J.D. Welch% Done:

0%

Category:usability
Target version:-
Affected Puppet version: Branch:
Keywords:ux

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

Either of these syntaxes makes it easy to miss ordering, and for different reasons. Consider if there’s a better way.

exec { 'a':  ... } ->
exec { 'b':  ... } ->
exec { 'c':  ... }

exec { 'a':
      before => Exec[ 'b' ],
      ...
}
exec { 'b':
      before => Exec[ 'c' ],
      ...
}
exec { 'c':
      ...
}

Related issues

Related to Puppet - Feature #16937: Improved Ruby DSL Closed 10/11/2012

History

#1 Updated by vagn scott about 3 years ago

Randall Hansen wrote:

Either of these syntaxes makes it easy to miss ordering, and for different reasons. Consider if there’s a better way.

There was some discussion here:

http://www.mail-archive.com/puppet-users@googlegroups.com/msg22498.html

#2 Updated by Anonymous about 2 years ago

  • Assignee changed from Anonymous to J.D. Welch

#3 Updated by J.D. Welch about 2 years ago

  • Keywords set to backlog

#4 Updated by eric sorenson about 2 years ago

  • Keywords changed from backlog to ux

Also available in: Atom PDF