Swift: fix two errors in proxy configuration
- fix a typo for logging class - drop dupplicate resource for ceilometer log file (already managed in puppet-swift) Change-Id: Ib006010176264103a31f2c3cc637ef4a2f383e35
This commit is contained in:
@@ -125,7 +125,7 @@ log_statsd_default_sample_rate = 1
|
|||||||
class { 'swift::proxy::container_quotas': }
|
class { 'swift::proxy::container_quotas': }
|
||||||
class { 'swift::proxy::formpost': }
|
class { 'swift::proxy::formpost': }
|
||||||
class { 'swift::proxy::healthcheck': }
|
class { 'swift::proxy::healthcheck': }
|
||||||
class { 'swift::proxy::proxy-logging': }
|
class { 'swift::proxy::proxy_logging': }
|
||||||
class { 'swift::proxy::ratelimit': }
|
class { 'swift::proxy::ratelimit': }
|
||||||
class { 'swift::proxy::slo': }
|
class { 'swift::proxy::slo': }
|
||||||
class { 'swift::proxy::staticweb': }
|
class { 'swift::proxy::staticweb': }
|
||||||
@@ -159,15 +159,6 @@ cache = swift.cache')
|
|||||||
endpoint_type => 'internalURL'
|
endpoint_type => 'internalURL'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Note(sileht): log file should exists to swift proxy to write to
|
|
||||||
# the ceilometer directory
|
|
||||||
file{'/var/log/ceilometer/swift-proxy-server.log':
|
|
||||||
ensure => present,
|
|
||||||
owner => 'swift',
|
|
||||||
group => 'swift',
|
|
||||||
notify => Service['swift-proxy']
|
|
||||||
}
|
|
||||||
|
|
||||||
Swift::Ringsync<<| |>> #~> Service["swift-proxy"]
|
Swift::Ringsync<<| |>> #~> Service["swift-proxy"]
|
||||||
|
|
||||||
if $::cloud::manage_firewall {
|
if $::cloud::manage_firewall {
|
||||||
|
Reference in New Issue
Block a user