IMHO I don't think I want nested facts to work :-). The evaluation
order alone is trouble some ... ie. the inner fact wouldn't get added
until the enclosed fact is evaluated ... doesn't sound like something
you would want in ordinary circumstances :-). Remember sometimes fact
information is gather
I have it working, but I'm curious if this might be a bug with nested
Facter.add statements?
I simply un-nested them and used a 'confine' statement to make things work.
New facts posted below:
Facter.add("is_ldap_server") do
setcode do
if FileTest.exists?("/usr/sbin/slapd")
%x{echo
Well, whatever problem I'm seeing is due to the nested Facter.add
statements...when I pulled the ldap_rid one out and ran it separately, it
worked.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https