Merge pull request #25 from fcharlier/rsyncmodulename

Fix the rsync modules names
This commit is contained in:
Dan Bode
2012-05-22 09:25:18 -07:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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,

View File

@@ -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,