Skip to content

Commit

Permalink
v2.4.1
Browse files Browse the repository at this point in the history
* Correct #95 regression on v2.4.0
  • Loading branch information
atomic-penguin committed Aug 8, 2017
1 parent a755a1b commit 619cce0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
v2.4.1
------

* Correct #95 regression on v2.4.0

v2.4.0
------

Expand Down
2 changes: 1 addition & 1 deletion metadata.rb
Expand Up @@ -4,7 +4,7 @@
description 'Installs and configures NFS, and NFS exports'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
name 'nfs'
version '2.4.0'
version '2.4.1'
source_url 'https://github.com/atomic-penguin/cookbook-nfs' if respond_to?(:source_url)
issues_url 'https://github.com/atomic-penguin/cookbook-nfs/issues' if respond_to?(:issues_url)

Expand Down
4 changes: 2 additions & 2 deletions providers/export.rb
Expand Up @@ -35,9 +35,9 @@

if new_resource.network.is_a?(Array)
host_permissions = new_resource.network.map { |net| net + "(#{ro_rw},#{sync_async}#{options})" }
export_line = "#{new_resource.directory} #{host_permissions.join(' ')}"
export_line = "#{new_resource.directory} #{host_permissions.join(' ')}\n"
else
export_line = "#{new_resource.directory} #{new_resource.network}(#{ro_rw},#{sync_async}#{options})"
export_line = "#{new_resource.directory} #{new_resource.network}(#{ro_rw},#{sync_async}#{options})\n"
end

execute 'exportfs' do
Expand Down

0 comments on commit 619cce0

Please sign in to comment.