Skip to content

Commit

Permalink
lint resources
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Jun 1, 2024
1 parent d506038 commit 9e19d79
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions resources/resources/config.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#Cookbook Name :: freeradius
#
# Cookbook:: freeradius
# Resource:: config
#

actions :config_common, :config_manager, :remove , :register, :deregister
actions :config_common, :config_manager, :remove, :register, :deregister
default_action :config_common

attribute :config_dir, :kind_of => String, :default => "/etc/raddb"
attribute :kafka_topic, :kind_of => String, :default => "rb_radius"
attribute :name, :kind_of => String, :default => "localhost"
attribute :ip, :kind_of => String, :default => "127.0.0.1"
attribute :flow_nodes, :kind_of => Array, :default => []
attribute :mode, :kind_of => String, :default => "manager"
attribute :config_dir, kind_of: String, default: '/etc/raddb'
attribute :kafka_topic, kind_of: String, default: 'rb_radius'
attribute :name, kind_of: String, default: 'localhost'
attribute :ip, kind_of: String, default: '127.0.0.1'
attribute :flow_nodes, kind_of: Array, default: []
attribute :mode, kind_of: String, default: 'manager'

0 comments on commit 9e19d79

Please sign in to comment.