Changes between Version 2 and Version 3 of FacterTweaks
- Timestamp:
- Mar 14, 2011 4:41:20 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FacterTweaks
v2 v3 3 3 == videocard fact == 4 4 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. 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. Place in /usr/lib/ruby/site_ruby/1.8/facter/videocard.rb 6 6 {{{ 7 7 #!ruby … … 25 25 end 26 26 }}} 27 28 After installing you should be able to see the fact like so: 29 {{{ 30 [root@host ~]# facter |grep video 31 videocard => Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) 32 [root@host ~]# 33 }}}