Merge branch 'bugfix-node-attribute' of Linux-Help/cookbook-ossec-ng into develop
This commit is contained in:
commit
d7e73af7cf
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@ source "https://supermarket.chef.io"
|
|||
|
||||
metadata
|
||||
|
||||
cookbook "selinux_policy", "~> 0.9.5"
|
||||
cookbook "selinux_policy", "~> 1.1.1"
|
||||
cookbook "yum-atomic", "~> 0.1.2"
|
||||
cookbook "yum-epel"
|
||||
cookbook "yum-epel", "~> 2.1.1"
|
||||
cookbook "apt-atomic", "~> 0.1.2"
|
||||
|
|
|
@ -4,7 +4,7 @@ maintainer_email "psi-jack@linux-help.org"
|
|||
license "GPLv2"
|
||||
description "Installs/Configures ossec"
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version "1.2.2"
|
||||
version "1.2.3"
|
||||
issues_url "http://git.linux-help.org/Linux-Help/ossec-ng/issues"
|
||||
source_url "http://git.linux-help.org/Linux-Help/ossec-ng"
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ else
|
|||
end
|
||||
if ossec_agent_should_be_removed?(agent_id)
|
||||
Chef::Log.info("OSSEC: Removing old agent '#{agent_id}' - '#{params[:name]}'")
|
||||
node["ossec"]["agents"].delete(agent_id)
|
||||
node.normal["ossec"]["agents"].delete(agent_id)
|
||||
else
|
||||
Chef::Log.info("OSSEC: agent '#{agent_id}' - '#{params[:name]}' is candidate for removal")
|
||||
node.normal["ossec"]["agents"][agent_id]["status"] = 'candidate_for_removal'
|
||||
|
|
Loading…
Reference in a new issue