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 #56 from echocat/develop
Browse files Browse the repository at this point in the history
backmerge for 1.7.2
  • Loading branch information
dwerder committed Jan 8, 2016
2 parents f5eccf7 + 91146ca commit ac76a72
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2016-01-08 - 1.7.2 (Bugfix release)

#### Bugfixes:

- (174a9b4) #53 Debian do not stop (nonexisting) service, when using nfs-v3
- (21c2a1d) #54 #55 Debian/Ubuntu enable the idmapd service on boot, when using nfs-v3

## 2015-10-23 - 1.7.1 (Bugfix release)

#### Bugfixes:
Expand Down
3 changes: 1 addition & 2 deletions manifests/client/debian/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
if $nfs::client::debian::nfs_v4 {
service { 'idmapd':
ensure => running,
enable => true,
name => 'nfs-common',
subscribe => Augeas['/etc/idmapd.conf', '/etc/default/nfs-common'],
}
} else {
service { 'idmapd': ensure => stopped, }
}
}
6 changes: 5 additions & 1 deletion manifests/client/ubuntu/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
if $nfs::client::ubuntu::nfs_v4 {
service { 'idmapd':
ensure => running,
enable => true,
subscribe => Augeas['/etc/idmapd.conf', '/etc/default/nfs-common'],
}
} else {
service { 'idmapd': ensure => stopped, }
service { 'idmapd':
ensure => stopped,
enable => false,
}
}
}
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.7.1",
"version": "1.7.2",
"source": "git clone https://github.com/echocat/puppet-nfs.git",
"author": "echocat",
"license": "Apache-2.0",
Expand Down
3 changes: 0 additions & 3 deletions spec/classes/client_debian_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
'ensure' => 'running'
)

should contain_service('idmapd').with(
'ensure' => 'stopped'
)
should contain_package('nfs-common')
should contain_package('rpcbind')

Expand Down

0 comments on commit ac76a72

Please sign in to comment.