On 10/09/2014 03:46 PM, Spriya wrote: > Hi, > > When i executed your facts. It is throwing me error
... > *=> #<Facter::Util::Fact:0x00000000a50320 @name=:java_versions1, > @ldapname="java_versions1", @resolves=[], @searching=false, @value=nil>* Uh, that's not an error. That's a fact if I ever saw one (well, I didn't, but it's recognizable regardless ;-) Granted, the fact value is nil, so the code is not exactly working, but it looks salvageable. Hint: Move the content of the setcode do ... end block out of the Facter boilerplate and let it run as a standalone scriptlet. Add print debugging ad libitum. HTH, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5453DA5E.1020708%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.
