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:
Yanis Guenane 2015-08-11 12:17:22 +02:00
parent 48c4134ceb
commit cd0e32b2c6

View File

@ -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,