Merge "Disable Swift auditors and replicators on the undercloud" into stable/newton

This commit is contained in:
Jenkins 2016-11-07 17:02:09 +00:00 committed by Gerrit Code Review
commit a904774440
1 changed files with 16 additions and 0 deletions

View File

@ -540,3 +540,19 @@ service { 'sshd':
ensure => running,
enable => true,
}
# Swift is using only a single replica on the undercloud. Therefore recovering
# from a corrupted or lost object is not possible, and running replicators and
# auditors only wastes resources.
$needless_services = [
'swift-account-auditor',
'swift-account-replicator',
'swift-container-auditor',
'swift-container-replicator',
'swift-object-auditor',
'swift-object-replicator']
Service[$needless_services] {
enable => false,
ensure => stopped,
}