[Mageia-sysadm] [341] - rename the module, as I used lib_dir everywhere

root at mageia.org root at mageia.org
Sat Nov 20 13:40:00 CET 2010


Revision: 341
Author:   misc
Date:     2010-11-20 13:40:00 +0100 (Sat, 20 Nov 2010)
Log Message:
-----------
- rename the module, as I used lib_dir everywhere

Added Paths:
-----------
    puppet/modules/facter/lib/facter/lib_dir.rb

Removed Paths:
-------------
    puppet/modules/facter/lib/facter/libdir.rb

Copied: puppet/modules/facter/lib/facter/lib_dir.rb (from rev 340, puppet/modules/facter/lib/facter/libdir.rb)
===================================================================
--- puppet/modules/facter/lib/facter/lib_dir.rb	                        (rev 0)
+++ puppet/modules/facter/lib/facter/lib_dir.rb	2010-11-20 12:40:00 UTC (rev 341)
@@ -0,0 +1,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    

Deleted: puppet/modules/facter/lib/facter/libdir.rb
===================================================================
--- puppet/modules/facter/lib/facter/libdir.rb	2010-11-20 11:52:54 UTC (rev 340)
+++ puppet/modules/facter/lib/facter/libdir.rb	2010-11-20 12:40:00 UTC (rev 341)
@@ -1,10 +0,0 @@
-Facter.add("libdir") do
-    setcode do
-        begin
-            Facter.architecture
-        rescue 
-            Facter.loadfacts()
-        end
-        '/usr/lib' + ( Facter.value('architecture') == "x86_64" ? '64' : '') + '/'
-    end
-end    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101120/4eddee1b/attachment.html>


More information about the Mageia-sysadm mailing list