make cdn configurable for resource pool and packages