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

The usage of Facts in Ruby DSL is not documented

Added by Egon Kastelijn over 4 years ago. Updated almost 3 years ago.

Status:ClosedStart date:10/14/2011
Priority:NormalDue date:
Assignee:Nick Fagerlund% Done:


Target version:-
Keywords:ruby dsl facts Affected URL:

We've Moved!

Ticket tracking is now hosted in JIRA:


The above page documents how to use the Ruby DSL. The problem is that it is unclear/undocumented how to use Agent Facts.

Someone mentioned that “Facter[:operatingsystem].value” should return the operatingsystem of the Agent, but this returns the operatingsystem of the PuppetMaster instead.

Please document in the page mentioned above how to use Facts in Ruby DSL.


Related issues

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


#1 Updated by James Turnbull over 4 years ago

  • Description updated (diff)
  • Category set to documentation
  • Status changed from Unreviewed to Needs Decision
  • Assignee set to Nick Fagerlund

#2 Updated by Nick Fagerlund over 4 years ago

  • Project changed from Puppet to Puppet Documentation
  • Category deleted (documentation)
  • Support Urls deleted ()

Moving to the docs project.

#3 Updated by Nigel Kersten almost 3 years ago

  • Status changed from Needs Decision to Closed

Also available in: Atom PDF