Feature #10248
Document fact access in templates using instance variables
| Status: | Closed | Start date: | 10/24/2011 | |
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | documentation | |||
| Target version: | - | |||
| Affected Puppet version: | Branch: | |||
| Keywords: | ||||
Description
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…
History
#1
Updated by James Turnbull over 1 year ago
- Status changed from Unreviewed to Needs Decision
#2
Updated by Nigel Kersten over 1 year 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 1 year ago
Somewhat related, investigate scope["var"] in templates.
#4
Updated by Nigel Kersten over 1 year ago
- Assignee changed from Nick Fagerlund to Nigel Kersten
#5
Updated by Andrew Parker 4 months 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.