Skip to content

Commit

Permalink
Enable clamav-unofficial-sigs
Browse files Browse the repository at this point in the history
  • Loading branch information
chkpnt committed Oct 13, 2019
1 parent 62e3c6a commit 2de2a37
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
10 changes: 10 additions & 0 deletions tasks/setup-rspamd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@
enabled: yes
state: started

- name: Enable clamav-unofficial-sigs
lineinfile:
path: /etc/clamav-unofficial-sigs/user.conf
regexp: '#user_configuration_complete='
line: 'user_configuration_complete="yes"'

# clamd won't start if /var/lib/clamav doesn't contain databases
- name: Execute freshclam
shell: freshclam

- name: Enable clamd and make sure it is running
systemd:
name: clamd
Expand Down
11 changes: 7 additions & 4 deletions tests/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

Vagrant.configure("2") do |config|

config.vm.provider "virtualbox" do |v|
v.linked_clone = true
v.auto_nat_dns_proxy = false
end
config.vm.provider "virtualbox" do |vb|
vb.linked_clone = true
vb.auto_nat_dns_proxy = false
end

config.vm.define "ns" do |sut|
sut.vm.box = "Leap-15.1.x86_64"
Expand All @@ -31,6 +31,9 @@ Vagrant.configure("2") do |config|
ansible.verbose = true
ansible.playbook = "testfixtures/vms/sut.yml"
end
sut.vm.provider "virtualbox" do |vb|
vb.memory = 2048
end
end

config.vm.define "client" do |sut|
Expand Down

0 comments on commit 2de2a37

Please sign in to comment.