Extract common code between master and slave server manifests
Fix a resource name