blob: ddd664c123bd9609330fb90b7660624f70f03aa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class env::big::configure_nvidia_gpu::services () {
# We only install the service but do not enable it.
# Services that depend on it can add "Wants=nvidia-smi.service"
# and "After=nvidia-smi.service", and this will automatically start
# this service.
file{
'/etc/systemd/system/nvidia-smi.service':
ensure => file,
owner => root,
group => root,
mode => '0644',
source => 'puppet:///modules/env/big/nvidia/nvidia-smi.service';
}
}
|