Chef OS versions fork
On CentOS-5.8 the service is portmap. In CentOS-6.4 it got obsolete and replaced by rpcbind. Here is the case statement for Chef.# Start portmap or rpcbind service "port" do case node["platform_version"] when "5.8" service_name "portmap" when "6.4" service_name "rpcbind" end action [ :start, :enable ] end
No comments:
Post a Comment