Title: Message Title
Adrien Thebo commented on an issue
Puppet / Bug PUP-1518
Custom Facts issue: Could not retrieve test: undefined method `get_fact_value' for #<Facter::Util::Resolution:0x007ffec21d35d0>
 wrote a custom fact named test.rb with this code inside:

  #!/usr/bin/ruby
  #
  def get_test()
    check_install = Dir.exists?('/etc/test')
    return check_install
  end
  
  Facter.add('test') do
    setcode do
      get_fact_value('test', $WEEK, 'get_test')
    end
  end

id I run #sudo facter -p, it works but if I run sudo factor -p ...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to