On 05/18/2011 05:18 PM, Patrick wrote:
> 
> On May 18, 2011, at 1:20 AM, patant wrote:
> 
>> Good idea!
>>
>>
>> Now I found another problem.
>> Some facts dosent't works when I call them explicit.
>>
>> The facter shows up in the list when I run facter --puppet.
>> But when I call facter --puppet <facter name> it dosen't give me the value 
>> that I got in the list. Returns nothing.
>>
>> "facter" gives me:
>> ---------- 
>> uptime => 2 days
>> uptime_days => 2
>> uptime_hours => 49
>> uptime_seconds => 178750
>> virtual => physical
>>
>> "facter uptime_seconds"
>> gives me nothing.
> 
> I've seen a problem similar to this, and with that problem, the puppet fact 
> works just fine.  So I'd test it in puppet and ignore the problem if puppet 
> is fine.
> 

IIRC the reason is that the fact doesn't live in a file called
<factname>.rb. Is this the case here?

Otherwise I second Patrick's notion: Ignore the commandline weirdness
and go ahead.

Regards,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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.

Reply via email to