nvidia

contributions requested
Detect and install NVIDIA binary drivers

16,278 downloads

15,741 latest version

2.6 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.1.4 (latest)
  • 0.1.3 (deleted)
  • 0.1.2 (deleted)
  • 0.1.1 (deleted)
  • 0.1.0
released Jan 14th 2016
This version is compatible with:
  • Ubuntu

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'dowlingw-nvidia', '0.1.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add dowlingw-nvidia
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install dowlingw-nvidia --version 0.1.4

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

dowlingw/nvidia — version 0.1.4 Jan 14th 2016

nvidia

Table of Contents

  1. Description
  2. Usage
  3. Notes
  4. Limitations
  5. Development

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.