You're breaking SLES support here. The old code was using openvswitch-switch for SLES.

Btw, it's cleaner to write:
```
service "openvswitch-switch" do
  service_name "openvswitch" if %w(redhat centos).include?(node.platform) 
  supports :status => true, :restart => true
  action [ :enable ]
end