Skip to content
Snippets Groups Projects
Commit 5b90c4ef authored by Arnaud Gomes's avatar Arnaud Gomes
Browse files

initial import

parents
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
name 'ircam-zfs'
version '0.0.1'
source 'git://forge-git.ircam.fr/puppet-module-base-zfs.git'
author 'ircam'
license 'GPLv3'
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'
README 0 → 100644
zfs
This is the zfs module.
License
-------
Contact
-------
Support
-------
Please log tickets and issues at our [Projects site](http://projects.example.com)
# == Class: zfs
#
# This module installs ZFS from http://zfsonlinux.org/ on Linux hosts. It
# does not manage pools, just the kernel-level support.
#
# === Parameters
#
# None.
#
# === Variables
#
# None.
#
# === Examples
#
# class { zfs: }
#
# === Authors
#
# Arnaud Gomes-do-Vale <Arnaud.Gomes@ircam.fr>
#
# === Copyright
#
# Copyright 2013 Arnaud Gomes-do-Vale
#
class zfs {
}
dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.join(dir, 'lib')
require 'mocha'
require 'puppet'
require 'rspec'
require 'spec/autorun'
Spec::Runner.configure do |config|
config.mock_with :mocha
end
# We need this because the RAL uses 'should' as a method. This
# allows us the same behaviour but with a different method name.
class Object
alias :must :should
end
# The baseline for module testing used by Puppet Labs is that each manifest
# should have a corresponding test manifest that declares that class or defined
# type.
#
# Tests are then run by using puppet apply --noop (to check for compilation errors
# and view a log of events) or by fully applying the test in a virtual environment
# (to compare the resulting system state to the desired state).
#
# Learn more about module testing here: http://docs.puppetlabs.com/guides/tests_smoke.html
#
include zfs
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment