Skip to content

Commit e8fe5b0

Browse files
ljblancoredborderjnavarrorbmanegron
authored
adding logstash to group virusgroup (#133)
* adding logstash to group virusgroup * lint * add to the group, don't block clam to create the group * fix: manage action is also preventing the creation of the group from clamscan --------- Co-authored-by: José Navarro en redBorder <[email protected]> Co-authored-by: Miguel Negrón <[email protected]>
1 parent 8217ff3 commit e8fe5b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

resources/providers/config.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@
6262
not_if "getent passwd #{user}"
6363
end
6464

65+
group 'virusgroup' do
66+
append true
67+
members ['logstash']
68+
action :manage
69+
only_if 'getent group virusgroup'
70+
end
71+
6572
begin
6673
logstash_hash_item = data_bag_item('passwords', 'vault')
6774
rescue

0 commit comments

Comments
 (0)