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:
Adam Vinsh
2016-10-07 17:26:47 +00:00
parent ad6a7e4987
commit af4c987615
2 changed files with 2 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ class swift::deps {
Anchor['swift::config::begin']
-> File<| tag == 'swift-file' |>
-> Concat<| tag == 'swift-concat' |>
~> Anchor['swift::config::end']
# Support packages need to be installed in the install phase, but we don't

View File

@@ -218,6 +218,7 @@ define swift::storage::server(
group => $group,
notify => Service["swift-${type}-server", "swift-${type}-replicator", "swift-${type}-auditor"],
require => Package['swift'],
tag => 'swift-concat',
}
$required_middlewares = split(