Version information
released Jun 1st 2017
This version is compatible with:
- Puppet Enterprise 3.x
- Puppet >= 3.4.0 < 4.0.0
- , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'ceritsc-dkms', '0.9.2'
Learn more about managing modules with a PuppetfileDocumentation
ceritsc/dkms — version 0.9.2 Jun 1st 2017
Puppet module for DKMS
This module installs DKMS tools and is able to manage state of existing DKMS modules.
Requirements
Module has been tested on:
- Puppet 3.8
- OS:
- Debian 6,7,8
- RHEL/CentOS 5,6,7
Required modules:
- puppetlabs-stdlib
Quick Start
Setup
include dkms
Full configuration options:
class { 'dkms':
packages => [...], # override list of packages to install
packages_devel => [...], # override list of devel. packages to install
apt_release => '...', # force target release on apt-get based systems
}
DKMS module definition:
dkms::module { 'name':
ensure => present|absent|installed, # ensure state
module => string, # override module name
kernel => string, # kernel version
version => string, # module version
timeout => int, # build timeout
}
Examples
This definition ensures the OpenAFS module ver. 1.6.9 is built for kernel 2.6.32-573.3.1.el6.x86_64.
dkms::module { 'openafs':
ensure => installed,
kernel => '2.6.32-573.3.1.el6.x86_64',
version => '1.6.9',
}
Facts
$::dkmsversion
Returns version of installed DKMS tools
"2.2.0.3"
CERIT Scientific Cloud, support@cerit-sc.cz
Dependencies
- puppetlabs/stdlib (>= 4.0.0)
The MIT License (MIT) Copyright (c) 2014-2015 CERIT-SC, Institute of Computer Science, Masaryk University Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.