Remove Rsync::Server::Module defaults

This commit consolidates resource defaults into
the resource declaration.
This commit is contained in:
Dan Bode 2012-01-27 22:02:50 -08:00
parent a6fcff35ef
commit cea6b846dc

View File

@ -23,18 +23,15 @@ define swift::storage::device(
$bind_port = $name
Rsync::Server::Module {
rsync::server::module { "${type}${name}":
path => $devices,
lock_file => "/var/lock/${type}${name}.lock",
uid => $owner,
gid => $group,
max_connections => $max_connections,
read_only => false,
}
rsync::server::module { "${type}${name}":
path => $devices,
lock_file => "/var/lock/${type}${name}.lock"
}
file { "/etc/swift/${type}-server/${name}.conf":
content => template("swift/${type}-server.conf.erb"),
owner => $owner,