def downgrade(template_attrs, template_deployment, attrs, deployment)
  attrs["elasticsearch"]["tunables"]["max_procs"] =
    attrs["elasticsearch"]["tunables"]["limit_nproc"]
  attrs["elasticsearch"]["tunables"]["max_open_files_hard_limit"] =
    attrs["elasticsearch"]["tunables"]["limit_nofile"]