Skip to content

Commit

Permalink
Merge pull request #37 from redBorder/feature/add_clamav
Browse files Browse the repository at this point in the history
Add clamAV
  • Loading branch information
jsotofernandez authored Jun 21, 2024
2 parents b80305e + 3f38047 commit 5e2004d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
default['redborder']['services']['radiusd'] = false
default['redborder']['services']['k2http'] = true
default['redborder']['services']['redborder-exporter'] = true
default['redborder']['services']['clamav'] = true

default['redborder']['systemdservices']['chef-client'] = ['chef-client']
default['redborder']['systemdservices']['kafka'] = ['kafka']
Expand Down
1 change: 1 addition & 0 deletions resources/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
# depends 'freeradius'
depends 'k2http'
depends 'rbcgroup'
depends 'rb-clamav'
4 changes: 4 additions & 0 deletions resources/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@
action :add
end

rb_clamav_config 'Configure ClamAV' do
action(proxy_services['clamav'] ? :add : :remove)
end

# MOTD
manager = `grep 'cloud_address' /etc/redborder/rb_init_conf.yml | cut -d' ' -f2`

Expand Down

0 comments on commit 5e2004d

Please sign in to comment.