/[adm]/puppet/modules/facter/lib/facter/libdir.rb
ViewVC logotype

Contents of /puppet/modules/facter/lib/facter/libdir.rb

Parent Directory Parent Directory | Revision Log Revision Log


Revision 339 - (show annotations) (download)
Sat Nov 20 11:15:06 2010 UTC (13 years, 5 months ago) by misc
File size: 243 byte(s)
- add 2 new facter macro, lib_dir ( %lib_dir from rpm) and dc_suffix ( dc=mageia,dc=org ), as we cut and paste them in every template

1 Facter.add("libdir") do
2 setcode do
3 begin
4 Facter.architecture
5 rescue
6 Facter.loadfacts()
7 end
8 '/usr/lib' + ( Facter.value('architecture') == "x86_64" ? '64' : '') + '/'
9 end
10 end

  ViewVC Help
Powered by ViewVC 1.1.30