Commit 96020329 authored by Tim Smith's avatar Tim Smith
Browse files

Add resource_name and allowed_actions to the resource

Ensure it works on earlier chef infra client releases
Signed-off-by: Tim Smith's avatarTim Smith <>
parent 9717ce60
......@@ -25,8 +25,10 @@ class Chef
class Resource
# Missing top-level class documentation comment
class RunitService < Chef::Resource::Service
resource_name :runit_service
provides :runit_service
allowed_actions :nothing, :start, :stop, :enable, :disable, :restart, :reload, :status, :once, :hup, :cont, :term, :kill, :up, :down, :usr1, :usr2, :create, :reload_log
default_action :enable
# For legacy reasons we allow setting these via attribute
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment