Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
environments-recipes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
grid5000
environments-recipes
Commits
3e07114a
Commit
3e07114a
authored
Nov 18, 2020
by
Baptiste Jonglez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[big] [puppet] [nvidia] Ensure Puppet fails if nvidia driver installation fails
parent
4dcf4790
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
steps/data/setup/puppet/modules/env/manifests/big/configure_nvidia_gpu/drivers.pp
...modules/env/manifests/big/configure_nvidia_gpu/drivers.pp
+5
-1
No files found.
steps/data/setup/puppet/modules/env/manifests/big/configure_nvidia_gpu/drivers.pp
View file @
3e07114a
...
...
@@ -29,10 +29,14 @@ class env::big::configure_nvidia_gpu::drivers () {
user
=>
root
,
require
=>
Package
[
'module-assistant'
];
'install_nvidia_driver'
:
command
=>
"/tmp/NVIDIA-Linux.run -qa --no-cc-version-check --ui=none --dkms -k
$
{installed_kernelreleases[-1]}
; /bin/rm /tmp/NVIDIA-Linux.run
"
,
command
=>
"/tmp/NVIDIA-Linux.run -qa --no-cc-version-check --ui=none --dkms -k
$
{installed_kernelreleases[-1]}"
,
timeout
=>
1200
,
# 20 min,
user
=>
root
,
require
=>
[
Exec
[
'prepare_kernel_module_build'
],
File
[
'/tmp/NVIDIA-Linux.run'
],
Package
[
'dkms'
]];
'cleanup_nvidia'
:
command
=>
"/bin/rm /tmp/NVIDIA-Linux.run"
,
user
=>
root
,
require
=>
Exec
[
'install_nvidia_driver'
];
}
file
{
'/tmp/NVIDIA-Linux.run'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment