Changes between Version 2 and Version 3 of FacterTweaks


Ignore:
Timestamp:
Mar 14, 2011 4:41:20 PM (13 years ago)
Author:
thomas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FacterTweaks

    v2 v3  
    33== videocard fact ==
    44
    5 This ruby snippet adds a videocard fact to facter.  You can use this fact to decide if you need to install any proprietary video card drivers.
     5This ruby snippet adds a videocard fact to facter.  You can use this fact to decide if you need to install any proprietary video card drivers.  Place in /usr/lib/ruby/site_ruby/1.8/facter/videocard.rb
    66{{{
    77#!ruby
     
    2525end
    2626}}}
     27
     28After installing you should be able to see the fact like so:
     29{{{
     30[root@host ~]# facter |grep video
     31videocard => Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
     32[root@host ~]#
     33}}}