Merge pull request #25 from fcharlier/rsyncmodulename
Fix the rsync modules names
This commit is contained in:
@@ -36,9 +36,9 @@ define swift::storage::server(
|
||||
|
||||
$bind_port = $name
|
||||
|
||||
rsync::server::module { "${type}${name}":
|
||||
rsync::server::module { "${type}":
|
||||
path => $devices,
|
||||
lock_file => "/var/lock/${type}${name}.lock",
|
||||
lock_file => "/var/lock/${type}.lock",
|
||||
uid => $owner,
|
||||
gid => $group,
|
||||
max_connections => $max_connections,
|
||||
|
@@ -92,9 +92,9 @@ describe 'swift::storage::server' do
|
||||
req_params
|
||||
end
|
||||
|
||||
it { should contain_rsync__server__module("#{t}#{title}").with(
|
||||
it { should contain_rsync__server__module("#{t}").with(
|
||||
:path => '/srv/node',
|
||||
:lock_file => "/var/lock/#{t}#{title}.lock",
|
||||
:lock_file => "/var/lock/#{t}.lock",
|
||||
:uid => 'swift',
|
||||
:gid => 'swift',
|
||||
:max_connections => 25,
|
||||
|
Reference in New Issue
Block a user