kwilczynski/facter-facts — Issue #5: Re-factor to use confine over if ... else statement.
Author: kwilczynski
Created: 2012-01-23 11:11:10+00:00
State: open

There is no need to have the following in the code:

if Facter.value(:kernel) == 'Linux'
...
end

Simple

confine :kernel => :linux

would suffice.

KW