Skip to content

Commit 3ccfe6f

Browse files
author
nick-markowski
committed
(SIMP-893) Fixed nfs_server default in the home_client class.
Updated a bad default for nfs_server in the home_client class, which otherwise had the potential to render a nil server value, and break automounting. SIMP-893 #close
1 parent 7991020 commit 3ccfe6f

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

build/pupmod-simp.spec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Summary: SIMP Puppet Module
22
Name: pupmod-simp
33
Version: 1.1.0
4-
Release: 8
4+
Release: 9
55
License: Apache License, Version 2.0
66
Group: Applications/System
77
Source: %{name}-%{version}-%{release}.tar.gz
@@ -85,6 +85,11 @@ fi
8585
# Post uninstall stuff
8686

8787
%changelog
88+
* Tue Mar 08 2016 Nick Markowski <nmarkowski@keywcorp.com> - 1.1.0-9
89+
- Updated a bad default for nfs_server in the home_client class, which
90+
otherwise had the potential to render a nil server value, and
91+
break automounting.
92+
8893
* Wed Feb 24 2016 Nick Markowski <nmarkowski@keywcorp.com> - 1.1.0-8
8994
- Updated the mcollective stock class and added appropriate spec and unit
9095
testing for full functionality test coverage.

manifests/nfs/home_client.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# * Kendall Moore <mailto:kmoore@keywcorp.com>
2525
#
2626
class simp::nfs::home_client (
27-
$nfs_server = defined('$::nfs::server') ? { true => $::nfs_server, default => hiera('nfs::server') },
27+
$nfs_server = defined('$::nfs_server') ? { true => $::nfs_server, default => hiera('nfs::server') },
2828
$port = '2049',
2929
$sec = 'sys',
3030
$use_autofs = true

0 commit comments

Comments
 (0)