Do not kill swift replicator services

To move from exec to SysV provider of the service
in previous releases we had to kill swift replicator
service with swift-init kill command.

This is not what we need in 6.0 release as we
are already managing everything with default OS
providers. Moreover, this commit is error-prone
for Ubuntu with upstart provider.

Change-Id: I9ed3a030b4987f919a9f9ec2d9351f0b2c3623b0
Closes-bug: #1381018
This commit is contained in:
Vladimir Kuklin 2014-10-14 15:05:24 +04:00
parent b7e4c802d6
commit c9b51b1a84

View File

@ -65,9 +65,6 @@ define swift::storage::generic(
$service_name = "swift-${name}-replicator"
}
exec { "swift-init-kill-${name}-replicator" :
command => "/usr/bin/swift-init kill ${name}-replicator",
}
service { "swift-${name}-replicator":
name => $service_name,
@ -78,6 +75,5 @@ define swift::storage::generic(
}
Package["swift-${name}"] ~> Service["swift-${name}-replicator"]
Exec["swift-init-kill-${name}-replicator"] ~> Service["swift-${name}-replicator"]
}