Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
puppet-zfs
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-zfs
Commits
32711a3a
Commit
32711a3a
authored
11 years ago
by
Arnaud Gomes
Browse files
Options
Downloads
Patches
Plain Diff
DKMS is handled by a separate module.
parent
9eec0771
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Modulefile
+2
-3
2 additions, 3 deletions
Modulefile
manifests/init.pp
+2
-8
2 additions, 8 deletions
manifests/init.pp
with
4 additions
and
11 deletions
Modulefile
+
2
−
3
View file @
32711a3a
name 'nono-zfs'
version '0.0.
1
'
version '0.0.
2
'
source 'git://forge-git.ircam.fr/puppet-module-base-zfs.git'
author 'nono'
license 'GPLv3'
...
...
@@ -7,5 +7,4 @@ summary 'ZFS Puppet module'
description 'This module installs ZFS from http://zfsonlinux.org/ on Linux hosts. It does not manage pools, just the kernel-level support.'
project_page 'http://forge.ircam.fr/p/puppet-module-base-zfs/'
## Add dependencies, if any:
# dependency 'username/name', '>= 1.2.0'
dependency 'nono/dkms', '>= 0.0.1'
This diff is collapsed.
Click to expand it.
manifests/init.pp
+
2
−
8
View file @
32711a3a
...
...
@@ -25,15 +25,9 @@
#
class
zfs
{
i
f
$::operatingsystem
in
[
'RedHat'
,
'CentOS'
,
'Scientific'
]
{
i
nclude
dkms
# We need kernel-headers for DKMS.
if
!
defined
(
Package
[
'kernel-devel'
])
{
package
{
'kernel-devel'
:
ensure
=>
present
,
before
=>
Package
[
'zfs'
],
}
}
if
$::operatingsystem
in
[
'RedHat'
,
'CentOS'
,
'Scientific'
]
{
package
{
'zfs-release'
:
ensure
=>
present
,
...
...
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