aboutsummaryrefslogtreecommitdiffstats
path: root/modules/facter/lib/facter/lib_dir.rb
blob: fe7d6a318436ac879a0dd16a308ed80d4f3c7c69 (plain)
1
2
3
4
5
6
7
8
9
10
Facter.add("lib_dir") do
    setcode do
        begin
            Facter.architecture
        rescue 
            Facter.loadfacts()
        end
        '/usr/lib' + ( Facter.value('architecture') == "x86_64" ? '64' : '') + '/'
    end
end