Issue #10089 has been reported by Egon Kastelijn.

----------------------------------------
Bug #10089: The usage of Facts in Ruby DSL is not documented
https://projects.puppetlabs.com/issues/10089

Author: Egon Kastelijn
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.8
Keywords: ruby dsl facts
Branch: 



http://projects.puppetlabs.com/projects/1/wiki/Ruby_Dsl

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.

puppet-2.6.8-1.el5



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to