On Tuesday, August 7, 2012 4:59:01 AM UTC-5, Yaniv Fine wrote: > > Thank you for your answer . > any reson why Facter::Util::Resolution. > exec not working . > i don't see either when running factor on the client or on the puppet > server yaml file any record of fact named yaniv ? > > Have you distributed the fact to the master and all nodes (using pluginsync)? See this page for details on that: http://docs.puppetlabs.com/guides/plugins_in_modules.html
Also, when running facter, you need to add the -p switch to see the puppet specific things, and many times you'll need to run it as root. sudo facter -p Also, if you put that code into an executable .rb file, does it give you the results you expect? --Lee -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/PAn8VJbatFIJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.