refactor rhel specific resources