On Wed, Nov 24, 2010 at 10:15 PM, Paul Nasrat wrote:
> On 20 November 2010 16:42, Nigel Kersten wrote:
>> On Fri, Nov 19, 2010 at 12:56 PM, Steve Atwell wrote:
>>> I need to write a custom fact that depends on the value of another
>>> custom fact in a different file. For example:
>>>
>>> # foo.
On 20 November 2010 16:42, Nigel Kersten wrote:
> On Fri, Nov 19, 2010 at 12:56 PM, Steve Atwell wrote:
>> I need to write a custom fact that depends on the value of another
>> custom fact in a different file. For example:
>>
>> # foo.rb
>> Facter.add("foo") do
>> setcode do
>> [...]
>
On Fri, Nov 19, 2010 at 12:56 PM, Steve Atwell wrote:
> I need to write a custom fact that depends on the value of another
> custom fact in a different file. For example:
>
> # foo.rb
> Facter.add("foo") do
> setcode do
> [...]
> end
> end
>
> # bar.rb
> Facter.add("bar") do
> set