Version information
This version is compatible with:
Start using this module
Add this module to your Puppetfile:
mod 'dowlingw-nvidia', '0.1.4'
Learn more about managing modules with a PuppetfileDocumentation
nvidia
Table of Contents
Description
This module will install the official Nvidia proprietary driver for a node when hardware is detected.
Usage
To get started without any fuss, use an include statement:
include nvidia
You can specify the major version number you wish you install, to deal with older hardware. This is subject to package for your distribution, so it might not work.
Using Heira:
nvidia::version: 346
Or a declaring a resource in your manifest:
class { 'nvidia':
version => 346
}
Notes
Detection works by inspecting the output of lspci
and looking for anything
with the correct vendor id that looks like a graphics card.
This is exposed as the nvidiagfx
fact from nodes running Linux.
On Ubuntu, this module will pin the ppa it uses with a higher priority, this
is primarily because of some weirdness in the Canoncial metapackages for
hardware the author runs (eg: nvidia-346
is a metapackage for nvidia-352
,
however the latter does not support Ion2 hardware).
Limitations
Right now, this module targets Ubuntu - but I am keen to clean things up and extend to other linux distributions and Windows.
Development
Please feel free to head to the Github page and submit a pull request.
Dependencies
- puppetlabs-stdlib (>= 1.0.0)
- puppetlabs-apt (>= 1.0.0)
The MIT License (MIT) Copyright (c) 2016 Will Dowling Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.