Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
puppet-dkms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Greg Mason
puppet-dkms
Commits
b8aeaa34
Commit
b8aeaa34
authored
11 years ago
by
Greg Mason
Browse files
Options
Downloads
Patches
Plain Diff
Add Ubuntu support
parent
e44b2647
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Modulefile
+6
-5
6 additions, 5 deletions
Modulefile
README
+1
-0
1 addition, 0 deletions
README
manifests/init.pp
+8
-2
8 additions, 2 deletions
manifests/init.pp
with
15 additions
and
7 deletions
Modulefile
+
6
−
5
View file @
b8aeaa34
name '
n
on
o
-dkms'
version '0.0.
2
'
source '
git://forge-git.ircam.fr/puppet-module-base-dkms.git
'
author '
n
on
o
'
name '
gmas
on-dkms'
version '0.0.
3
'
source '
https://git.phd.msu.edu/gmason/puppet-dkms
'
author '
gmas
on'
license 'GPLv3'
summary 'DKMS Puppet module'
description 'This module installs and configures DKMS.'
project_page 'http://
forge.ircam.fr/p/puppet-module-base
-dkms
/
'
project_page 'http
s
://
git.phd.msu.edu/gmason/puppet
-dkms'
dependency 'puppetlabs/gcc'
dependency 'puppetlabs/apt'
This diff is collapsed.
Click to expand it.
README
+
1
−
0
View file @
b8aeaa34
...
...
@@ -12,6 +12,7 @@ Contact
-------
Arnaud Gomes-do-Vale <Arnaud.Gomes@ircam.fr>
Greg Mason <gmason@msu.edu> for Ubuntu port
Support
-------
...
...
This diff is collapsed.
Click to expand it.
manifests/init.pp
+
8
−
2
View file @
b8aeaa34
...
...
@@ -38,16 +38,22 @@ class dkms {
package
{
'dkms'
:
ensure
=>
present
,
}
->
}
service
{
'dkms_autoinstaller'
:
enable
=>
true
,
require
=>
Class
[
'gcc'
],
}
}
'Debian'
:
{
'Debian'
,
'Ubuntu'
:
{
package
{
'dkms'
:
ensure
=>
present
,
}
package
{
'linux-headers-server'
:
ensure
=>
present
,
}
package
{
"linux-headers-
$kernelrelease
"
:
ensure
=>
present
,
}
}
default
:
{
fail
(
"Module
${module_name}
is not supported on
${::operatingsystem}
."
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment