actions :create, :delete
default_action :create

attribute :name, :kind_of => Symbol, :name_attribute => true, :required => true
attribute :description, :kind_of => String

attribute :definition, :kind_of => String
attribute :template, :kind_of => Hash
attribute :cookbook, :kind_of => String, :default => "backup"

attribute :cron_options, :kind_of => Hash
attribute :schedule, :kind_of => Hash

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

actions :create, :delete
default_action :create

attribute :name, :kind_of => String, :name_attribute => true, :required => true
attribute :description, :kind_of => String

attribute :definition, :kind_of => String
attribute :template, :kind_of => Hash
attribute :cookbook, :kind_of => String, :default => "backup"

attribute :cron_options, :kind_of => Hash
attribute :schedule, :kind_of => Hash

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

Fix Symbols as name attribute broken with chef-client 12.5
Fix Symbols as name attribute broken with chef-client 12.5
