Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand test coverage #8

Merged
merged 2 commits into from
Nov 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,20 @@ script:
- 'bundle exec rake $CHECK'
bundler_args: --without system_tests
rvm:
- 2.4.1
- 2.5.3
env:
global:
- BEAKER_PUPPET_COLLECTION=puppet5 PUPPET_GEM_VERSION="~> 5.0"
- PUPPET_GEM_VERSION="~> 6.0"
matrix:
fast_finish: true
include:
-
env: CHECK="syntax lint metadata_lint check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop"
-
env: CHECK=parallel_spec
-
env: PUPPET_GEM_VERSION="~> 5.0" CHECK=parallel_spec
rvm: 2.4.5
-
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=parallel_spec
rvm: 2.1.9
Expand Down
20 changes: 6 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,18 @@
#### Table of Contents

1. [Description](#description)
2. [Setup - The basics of getting started with zfs_core](#setup)
* [Beginning with zfs_core](#beginning-with-zfs_core)
3. [Usage - Configuration options and additional functionality](#usage)
4. [Reference - An under-the-hood peek at what the module is doing and how](#reference)
5. [Limitations - OS compatibility, etc.](#limitations)
6. [Development - Guide for contributing to the module](#development)
2. [Usage - Configuration options and additional functionality](#usage)
3. [Reference - An under-the-hood peek at what the module is doing and how](#reference)
4. [Limitations - OS compatibility, etc.](#limitations)
5. [Development - Guide for contributing to the module](#development)

## Description

The zfs_core module is used to manage both zfs and zpool resources. Though This
module is only tested on Solaris machines, it should also work on any machine
that has zfs or zpool resources.

## Setup

### Beginning with zfs_core
## Usage

To create a zpool resource with the name `tstpool` that uses the disk `/ztstpool/dsk`, use the following code:
```
Expand All @@ -35,13 +31,9 @@ zfs { 'tstpool/tstfs':
}
```

## Usage

For details on usage, please see [the zfs puppet docs docs](https://puppet.com/docs/puppet/latest/types/zfs.html) and [the zpool puppet docs](https://puppet.com/docs/puppet/latest/types/zpool.html).

## Reference

Please see REFERENCE.md for the reference documentation.
Please see the reference documentation for [`zfs`](REFERENCE.md) and [`zpool`](https://github.com/puppetlabs/puppetlabs-zpool_core/blob/master/REFERENCE.md).

This module is documented using Puppet Strings.

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"summary": "Manage zfs. Create destroy and set properties on zfs instances.",
"license": "Apache-2.0",
"source": "https://github.com/puppetlabs/puppetlabs-zfs_core",
"project_page": "https://github.com/puppetlabs/puppetlabs-zfs_core/blob/master/README.md",
"project_page": "https://github.com/puppetlabs/puppetlabs-zfs_core",
"issues_url": "https://tickets.puppetlabs.com/projects/MODULES",
"dependencies": [

Expand Down