Fix ordering issue related to swift.conf
The file /etc/swift/swift.conf is managed by puppet. There is no ordering contraint between swift_config resource and the /etc/swift/swift.conf file resource. It causes randomly failure when the swift_config resource applies before the file resource Change-Id: I08803a68ede6e3659e93c342949d8bb4e823ccd9
This commit is contained in:
parent
48c4134ceb
commit
cd0e32b2c6
@ -37,6 +37,8 @@ class swift(
|
||||
|
||||
include ::swift::params
|
||||
|
||||
File['/etc/swift/swift.conf'] -> Swift_config <||>
|
||||
|
||||
if !defined(Package['swift']) {
|
||||
package { 'swift':
|
||||
ensure => $package_ensure,
|
||||
|
Loading…
Reference in New Issue
Block a user