]> git.openstreetmap.org Git - chef.git/commitdiff
Add clamav to the Debian-exim group on mail servers
authorTom Hughes <tom@compton.nu>
Tue, 27 Sep 2022 21:40:41 +0000 (22:40 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 27 Sep 2022 21:43:24 +0000 (22:43 +0100)
cookbooks/clamav/attributes/default.rb [new file with mode: 0644]
cookbooks/clamav/metadata.rb
cookbooks/clamav/recipes/default.rb

diff --git a/cookbooks/clamav/attributes/default.rb b/cookbooks/clamav/attributes/default.rb
new file mode 100644 (file)
index 0000000..141f366
--- /dev/null
@@ -0,0 +1 @@
+default[:accounts][:groups][:"Debian-exim"][:members] = [:clamav]
index 32a05964e9fc346d59bdc77bb1777abd34122fbf..8ef95c90672f5621a9723b6337851dc0b87714d5 100644 (file)
@@ -6,3 +6,4 @@ description       "Installs and configures clamav"
 
 version           "1.0.0"
 supports          "ubuntu"
+depends           "accounts"
index f6dd24a5c8af5b5634eee0aba5c23f800dbee1a9..938b2f5aba0c1caa72e448623ba894b8b494162d 100644 (file)
@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+include_recipe "accounts"
+
 package %w[
   clamav-daemon
   clamav-freshclam