actions :create, :delete

attribute :type, :kind_of => String, :equal_to => %w[status metric]
attribute :command, :kind_of => String, :required => true
attribute :subscribers, :kind_of => Array
attribute :standalone, :kind_of => [TrueClass, FalseClass]
attribute :interval, :default => 60
attribute :handle, :kind_of => FalseClass
attribute :handlers, :kind_of => Array
attribute :additional, :kind_of => Hash, :default => Hash.new

def initialize(*args)
  super
  @action = :create
end

actions :create, :delete

attribute :type, :kind_of => String, :equal_to => %w[status metric]
attribute :command, :kind_of => String, :required => true
attribute :subscribers, :kind_of => Array
attribute :standalone, :kind_of => [TrueClass, FalseClass]
attribute :interval, :default => 60
attribute :handle, :kind_of => [TrueClass, FalseClass]
attribute :handlers, :kind_of => Array
attribute :additional, :kind_of => Hash, :default => Hash.new

def initialize(*args)
  super
  @action = :create
end

Change handle to support both true and false
Change handle to support both true and false
