Skip to content

Commit

Permalink
Lint attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed May 28, 2024
1 parent 5c607bd commit 4ffefe7
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions resources/attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
default["rsyslog"]["registered"] = false
default["redborder"]["rsyslog"]["enable_tcp"] = true
default["redborder"]["rsyslog"]["enable_tls"] = false
default["redborder"]["rsyslog"]["enable_udp"] = true
default["redborder"]["rsyslog"]["enable_client_proxy_logs"] = true
default["redborder"]["rsyslog"]["udp_port"] = 514
default["redborder"]["rsyslog"]["tcp_port"] = 514
default['rsyslog']['registered'] = false
default['redborder']['rsyslog']['enable_tcp'] = true
default['redborder']['rsyslog']['enable_tls'] = false
default['redborder']['rsyslog']['enable_udp'] = true
default['redborder']['rsyslog']['enable_client_proxy_logs'] = true
default['redborder']['rsyslog']['udp_port'] = 514
default['redborder']['rsyslog']['tcp_port'] = 514

default["redborder"]["rsyslog"]["enable_hash"] = false
default["redborder"]["rsyslog"]["hash_key"] = "yourenterprisekey"
default["redborder"]["rsyslog"]["hash_function"] = "sha256"
default['redborder']['rsyslog']['enable_hash'] = false
default['redborder']['rsyslog']['hash_key'] = 'yourenterprisekey'
default['redborder']['rsyslog']['hash_function'] = 'sha256'

default["redborder"]["rsyslog"]["config_dir"] = "/etc/rsyslog.d"
default["redborder"]["rsyslog"]["certificates_dir"] = "#{node["redborder"]["rsyslog"]["config_dir"]}/certificates"
default["redborder"]["rsyslog"]["rules_dir"] = "#{node["redborder"]["rsyslog"]["config_dir"]}/rules"
default["redborder"]["rsyslog"]["remote_logs_dir"] = "/var/log/remote"
default["redborder"]["rsyslog"]["work_dir"] = "/var/spool/rsyslog"
default['redborder']['rsyslog']['config_dir'] = '/etc/rsyslog.d'
default['redborder']['rsyslog']['certificates_dir'] = "#{node['redborder']['rsyslog']['config_dir']}/certificates"
default['redborder']['rsyslog']['rules_dir'] = "#{node['redborder']['rsyslog']['config_dir']}/rules"
default['redborder']['rsyslog']['remote_logs_dir'] = '/var/log/remote'
default['redborder']['rsyslog']['work_dir'] = '/var/spool/rsyslog'

default["redborder"]["rsyslog"]["permitted_peers_array"] = ['*.example.com','*.redborder.com']
default['redborder']['rsyslog']['permitted_peers_array'] = ['*.example.com', '*.redborder.com']

default["redborder"]["rsyslog"]["user"] = "root"
default["redborder"]["rsyslog"]["group"] = "root"
default['redborder']['rsyslog']['user'] = 'root'
default['redborder']['rsyslog']['group'] = 'root'

# From old attributes file
#default["redborder"]["rsyslog"]["service"] = "rsyslog"
default["redborder"]["rsyslog"]["is_server"] = false
default["redborder"]["rsyslog"]["loggly"] = {}
default["redborder"]["rsyslog"]["loggly"]["token"] = ""
default["redborder"]["rsyslog"]["service"] = "rsyslog"
default["redborder"]["rsyslog"]["tcpservers"] = []
default["redborder"]["rsyslog"]["udpservers"] = []
default["redborder"]["rsyslog"]["servers"] = []
default["redborder"]["rsyslog"]["protocol"] = "udp"
default["redborder"]["rsyslog"]["syslog_mode"] = "extended"
default["redborder"]["rsyslog"]["savelocally"] = true
# default['redborder']['rsyslog']['service'] = 'rsyslog'
default['redborder']['rsyslog']['is_server'] = false
default['redborder']['rsyslog']['loggly'] = {}
default['redborder']['rsyslog']['loggly']['token'] = ''
default['redborder']['rsyslog']['service'] = 'rsyslog'
default['redborder']['rsyslog']['tcpservers'] = []
default['redborder']['rsyslog']['udpservers'] = []
default['redborder']['rsyslog']['servers'] = []
default['redborder']['rsyslog']['protocol'] = 'udp'
default['redborder']['rsyslog']['syslog_mode'] = 'extended'
default['redborder']['rsyslog']['savelocally'] = true

0 comments on commit 4ffefe7

Please sign in to comment.