Commit ce7bd88a authored by Tim Smith's avatar Tim Smith
Browse files

Fix Foodcritic warnings


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 9bac60af
name 'ossec'
maintainer 'Joshua Timberman'
maintainer_email 'cookbooks@housepub.org'
license 'Apache 2.0'
maintainer 'Sous Chefs'
maintainer_email 'help@sous-chefs.org'
license 'Apache-2.0'
description 'Installs and configures ossec'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '1.0.5'
......@@ -14,5 +14,6 @@ end
supports os
end
source_url 'https://github.com/jtimberman/ossec-cookbook' if respond_to?(:source_url)
issues_url 'https://github.com/jtimberman/ossec-cookbook/issues' if respond_to?(:issues_url)
source_url 'https://github.com/sous-chefs/ossec'
issues_url 'https://github.com/sous-chefs/ossec'
chef_version '>= 12.1' if respond_to?(:chef_version)
......@@ -30,7 +30,7 @@ else
end
end
node.set['ossec']['agent_server_ip'] = ossec_server.first
node.normal['ossec']['agent_server_ip'] = ossec_server.first
include_recipe 'ossec::install_agent'
......
......@@ -34,7 +34,7 @@ ruby_block 'ossec install_type' do # ~FC014
end
end
node.set['ossec']['install_type'] = type
node.normal['ossec']['install_type'] = type
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment