Fix files and directories in new location for ZooKeeper config
@@ -19,9 +19,11 @@ func makeFixSpec() util.FixSpec {
}
func fixDirsAndFiles(fixSpec util.FixSpec) {
- fixSpec.FixDir("conf/zookeeper")
+ fixSpec.FixDir("conf/zookeeper") // TODO: Remove when files are only written to var/zookeeper/conf
fixSpec.FixDir("var/zookeeper")
+ fixSpec.FixDir("var/zookeeper/conf")
fixSpec.FixDir("var/zookeeper/version-2")
- fixSpec.FixFile("conf/zookeeper/zookeeper.cfg")
+ fixSpec.FixFile("conf/zookeeper/zookeeper.cfg") // TODO: Remove when files are only written to var/zookeeper/conf
+ fixSpec.FixFile("var/zookeeper/conf/zookeeper.cfg")
fixSpec.FixFile("var/zookeeper/myid")
}
