swift-concat requires swift-file dependency
In a case where /etc/swift/<type>-server/<config_files> is used, need to ensure that the directory is created before the concat resource attempts to write a config file there. Change-Id: I3f62a2bcd65b429518327f43918871d4263d35fb
This commit is contained in:
@@ -39,6 +39,7 @@ class swift::deps {
|
|||||||
|
|
||||||
Anchor['swift::config::begin']
|
Anchor['swift::config::begin']
|
||||||
-> File<| tag == 'swift-file' |>
|
-> File<| tag == 'swift-file' |>
|
||||||
|
-> Concat<| tag == 'swift-concat' |>
|
||||||
~> Anchor['swift::config::end']
|
~> Anchor['swift::config::end']
|
||||||
|
|
||||||
# Support packages need to be installed in the install phase, but we don't
|
# Support packages need to be installed in the install phase, but we don't
|
||||||
|
@@ -218,6 +218,7 @@ define swift::storage::server(
|
|||||||
group => $group,
|
group => $group,
|
||||||
notify => Service["swift-${type}-server", "swift-${type}-replicator", "swift-${type}-auditor"],
|
notify => Service["swift-${type}-server", "swift-${type}-replicator", "swift-${type}-auditor"],
|
||||||
require => Package['swift'],
|
require => Package['swift'],
|
||||||
|
tag => 'swift-concat',
|
||||||
}
|
}
|
||||||
|
|
||||||
$required_middlewares = split(
|
$required_middlewares = split(
|
||||||
|
Reference in New Issue
Block a user