Make sure we're always creating the conf.d and zones.d directories

fixes #9879
This commit is contained in:
Gunnar Beutner 2015-08-11 12:59:26 +02:00
parent ec8cdcd554
commit 2e43c57d6b
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ String ConfigModuleUtility::CreateStage(const String& moduleName, const Dictiona
path += "/" + stageName;
Utility::MkDirP(path, 0700);
Utility::MkDirP(path + "/conf.d", 0700);
Utility::MkDirP(path + "/zones.d", 0700);
WriteStageConfig(moduleName, stageName);
bool foundDotDot = false;