[Mon, 12 Dec 2011 12:24:01 -0700] ERROR: Chef::Exceptions::UnsupportedAction: service[portmap] (apol_db::nfs line 27) had an error: #<Chef::Provider::Service::Init:0x2b0d03852420> does not support :enable
[Mon, 12 Dec 2011 12:24:01 -0700] ERROR:
Chef::Exceptions::UnsupportedAction: service[portmap] (apol_db::nfs line 27)
had an error: #Chef::Provider::Service::Init:0x2b0d03852420 does not
support :enable
my line 27 is
service "portmap" do
action [ :enable, :start ]
end
what am I missing?
What's your os? You appear to be ending up trying to use the default
provider for service, which is just "Init".
It appears that the init provider doesn't do ":enable". If the package
has already deposited your start script in /etc/init.d (or wheverver)
you may may be able to safely just :start it without the :enable.