Disable 'use chroot' for rsync::server
Allow to keep the right username/groupname for rsync'ed files if the uids and gids are not in sync on all the servers
This commit is contained in:
parent
03d39f1663
commit
a5788bae83
@ -26,6 +26,7 @@ class swift::ringserver(
|
||||
class { 'rsync::server':
|
||||
use_xinetd => true,
|
||||
address => $local_net_ip,
|
||||
use_chroot => 'no',
|
||||
}
|
||||
|
||||
rsync::server::module { "swift_server":
|
||||
|
@ -26,5 +26,6 @@ class swift::storage(
|
||||
class{ 'rsync::server':
|
||||
use_xinetd => true,
|
||||
address => $storage_local_net_ip,
|
||||
use_chroot => 'no',
|
||||
}
|
||||
}
|
||||
|
@ -103,7 +103,8 @@ describe 'swift::storage::all' do
|
||||
|
||||
it { should contain_class('rsync::server').with(
|
||||
{:use_xinetd => true,
|
||||
:address => param_hash[:storage_local_net_ip]
|
||||
:address => param_hash[:storage_local_net_ip],
|
||||
:use_chroot => 'no'
|
||||
}
|
||||
)}
|
||||
|
||||
|
@ -26,7 +26,8 @@ describe 'swift::storage' do
|
||||
|
||||
it { should contain_class('rsync::server').with(
|
||||
{:use_xinetd => true,
|
||||
:address => params[:storage_local_net_ip]
|
||||
:address => params[:storage_local_net_ip],
|
||||
:use_chroot => 'no'
|
||||
}
|
||||
)}
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user