Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #71 from echocat/develop
Browse files Browse the repository at this point in the history
backmerge for release 1.8.1
  • Loading branch information
dwerder committed Mar 19, 2016
2 parents e7ed580 + 9b98772 commit d42e22c
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2016-03-19 - 1.8.1 (Bugfix release)

#### Bugfixes:

- (60cfca6) #68 recognize newer releases of Amazon Linux
- (be6b4af) Debian: rpcmountdopts has double quotes

## 2016-01-18 - 1.8.0 (Feature release)

*Warning:* Requires [puppetlabs-stdlib](https://github.com/puppetlabs/puppetlabs-stdlib) > =4.8.0 !
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ gem 'puppetlabs_spec_helper', '>= 0.1.0'
gem 'puppet-lint', '>= 0.3.2'
gem 'facter', facterversion
gem 'rspec', '< 3.2.0'
# rubi <1.9 versus rake 11.0.0 workaround
gem 'rake', '< 11.0.0'
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@

This module installs, configures and manages everything on NFS clients and servers.

Github Master: [![Build Status](https://secure.travis-ci.org/echocat/puppet-nfs.png?branch=master)](https://travis-ci.org/echocat/puppet-nfs)
[![Puppet Forge](http://img.shields.io/puppetforge/v/echocat/nfs.svg)](https://forge.puppetlabs.com/echocat/nfs)
[![Build Status](https://secure.travis-ci.org/echocat/puppet-nfs.png?branch=master)](https://travis-ci.org/echocat/puppet-nfs)
[![Puppet Forge Downloads](http://img.shields.io/puppetforge/dt/echocat/nfs.svg)](https://forge.puppetlabs.com/echocat/nfs)

##Module Description

Expand Down
10 changes: 7 additions & 3 deletions manifests/client/redhat/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@
/^7\.\d+/: {
$osmajor = 7
}
# TODO: workaround for Fedora
/^\d{2,}/: {
$osmajor = 7
# Newer Amazon Linux releases use YYYY.MM (e.g. "2014.09" or "2015.03")
/^\d{4}\.\d{2}$/: {
$osmajor = 6
}
# Amazon linux operatingsystemrelease is verbose: 3.10.35-43.137.amzn1.x86_64
/^[34]\.(\d|-|\.)+(amzn){1}/: {
$osmajor = 6
}
# TODO: workaround for Fedora
/^\d{2,}/: {
$osmajor = 7
}
default:{
fail("Operatingsystemrelease ${::operatingsystemrelease} not supported")
}
Expand Down
2 changes: 1 addition & 1 deletion manifests/server/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
file_line { 'rpc-mount-options':
ensure => present,
path => '/etc/default/nfs-kernel-server',
line => "RPCMOUNTDOPTS=--manage-gids --port ${mountd_port} --num-threads ${mountd_threads}",
line => "RPCMOUNTDOPTS=\"--manage-gids --port ${mountd_port} --num-threads ${mountd_threads}\"",
match => '^#?RPCMOUNTDOPTS';
}

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
}
],
"name": "echocat-nfs",
"version": "1.8.0",
"version": "1.8.1",
"source": "git clone https://github.com/echocat/puppet-nfs.git",
"author": "echocat",
"license": "Apache-2.0",
Expand Down

0 comments on commit d42e22c

Please sign in to comment.