Remove Rsync::Server::Module defaults
This commit consolidates resource defaults into the resource declaration.
This commit is contained in:
parent
a6fcff35ef
commit
cea6b846dc
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user