Skip to content

Commit

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

actions :add, :remove
default_action :add

attribute :community, :kind_of => String, :default => "redborder"
attribute :cdomain, :kind_of => String, :default => "redborder.cluster"
attribute :hostname, :kind_of => String, :default => "localhost"
attribute :snmp_username, :kind_of => String, :default => "redborder"
attribute :snmp_pass, :kind_of => String, :default => "redborderP@ssw0rd"
attribute :config_dir, :kind_of => String, :default => "/etc/snmp"
attribute :community, kind_of: String, default: 'redborder'
attribute :cdomain, kind_of: String, default: 'redborder.cluster'
attribute :hostname, kind_of: String, default: 'localhost'
attribute :snmp_username, kind_of: String, default: 'redborder'
attribute :snmp_pass, kind_of: String, default: 'redborderP@ssw0rd'
attribute :config_dir, kind_of: String, default: '/etc/snmp'

0 comments on commit ad5289a

Please sign in to comment.