Files
gitea-pages/admin-guide/puppet/profiles/nvidia.rst
2021-05-05 14:24:27 +02:00

1.4 KiB

profile::nvidia

The purpose of this module is to install the NVIDIA drivers. If NVIDIA GPU cards are detected with the facter pci_devices.gpu.nvidia, automatically the profile::nvidia class will be called. The class profile::platform is responsible for calling this profile:

if ( $facts['pci_devices']['gpu']['nvidia'].size > 0 ) {
  class { 'profile::nvidia':; }
}

Current profile only installs drivers using the CUDA installation. Other NVIDIA installations (i.e. just NVIDIA drivers for Desktops without CUDA) are still not implemented.

To enable CUDA installation nvidia::cuda::enable must be set to true (default is false). When this setting is set to false (default), NVIDIA installation without CUDA should be performed (as already specified, this is not implemented yet)

Parameters

Name Type Default
cuda_version string 8-0
cuda_enable bool false

cuda_version

By default 8-0 is the version for the CUDA metapackage. To make installation possible, cuda_enable must be also set up.

cuda_enable

By default is false. Set to true if you want to install CUDA and NVIDIA drivers from the CUDA repositories.