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 #10248

Document fact access in templates using instance variables

Added by R.I. Pienaar over 4 years ago. Updated about 3 years ago.

Status:ClosedStart date:10/24/2011
Priority:HighDue date:
Assignee:-% Done:


Target version:-
Affected Puppet version: Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


In a template facts can be accessed using @operatingsystem, this should be documented and supported long term.

This came in around 2.6 but I am not sure exactly when…


#1 Updated by James Turnbull over 4 years ago

  • Status changed from Unreviewed to Needs Decision

#2 Updated by Nigel Kersten over 4 years ago

  • Status changed from Needs Decision to Accepted
  • Priority changed from Normal to High

So this is totally deliberate and part of git commit 03c76deb60927375e9b35c74a903130930ffddf2

Will fill in more details later, but had a chat to Luke about it.

#3 Updated by Nigel Kersten over 4 years ago

Somewhat related, investigate scope["var"] in templates.

#4 Updated by Nigel Kersten over 4 years ago

  • Assignee changed from Nick Fagerlund to Nigel Kersten

#5 Updated by Anonymous about 3 years ago

  • Status changed from Accepted to Closed
  • Assignee deleted (Nigel Kersten)

This seems to be documented now. There is now the issue of deprecating the other syntax, which is in #19058.

Also available in: Atom PDF