Displaying 2 results from an estimated 2 matches for "test_fact".
Did you mean:
test_ac
2009 Jul 27
4
Custom fact errors
...lem and possibly more.
1) Puppet/facter fails to load the custom fact, complaining that "non-
sh interpreters are not currently supported"
2) Puppet seems to be loading the fact twice (though that may be
because of the above).
Output on client:
----------
# puppetd -t
info: Loading fact test_fact
info: Retrieving plugins
info: Loading fact test_fact
Could not retrieve test_fact: non-sh interpreters are not currently
supported
Could not retrieve test_fact: non-sh interpreters are not currently
supported
info: Caching catalog at /var/lib/puppet/localconfig.yaml
notice: Starting catalog run
no...
2011 Jan 27
1
performance question
I got sidetracked while benchmarking ruby factorial code:
http://rosettacode.org/wiki/Factorial#Ruby
I put all that code into test_fact.rb and ran with:
> ruby test_fact.rb
> rails runner test_fact.rb #from a fresh rails app
> rails runner test_fact.rb #from a mature rails app
here are the respective results:
user system total real #ruby
recursive: 8.660000 0.040000 8.700000 (...