Merge branch 'develop'

This commit is contained in:
Eric Renfro 2017-01-28 11:28:36 -05:00
commit 354dc0870b
3 changed files with 4 additions and 4 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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'