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:

Feature #7612

Exported resource syntax is too magical, hard to read

Added by Anonymous over 4 years ago. Updated over 4 years ago.

Status:InvestigatingStart date:05/20/2011
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Affected Puppet version: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


The exported resources syntaxe:

@@user { luke: ensure => present }

Is concise and powerful, but very difficult to read. We should consider word-based syntax, e.g.:

export @user { luke: ensure => present }

And taking into account #7605, perhaps:

export virtual user { luke: ensure => present }

This ticket is a request for comment, coming out of a discussion at Puppet Camp EU, 2011. No promises whatever about implementation, but there were enough people interested to open a public discussion.


#1 Updated by Peter Meier over 4 years ago

I don’t really like

export @user {}


export virtual user {}

Because exporting a user has only technically todo something with virtual resources, but from a user point of view not really. At least that’s the way how I see it.

So I would favor:

export user {}

But still would like to keep


around, as it’s much easier to type.

Also available in: Atom PDF