Commit 9bac60af authored by Tim Smith's avatar Tim Smith
Browse files

Update copyrights and other cookstyle fixes


Signed-off-by: default avatarTim Smith <tsmith@chef.io>
parent 080fdc43
......@@ -12,7 +12,7 @@ namespace :style do
desc 'Run Chef style checks'
FoodCritic::Rake::LintTask.new(:chef) do |t|
t.options = {
fail_tags: ['any']
fail_tags: ['any'],
}
end
end
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Attributes:: default
#
# Copyright 2010-2016, Chef Software, Inc.
# Copyright:: 2010-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Library:: helpers
#
# Copyright 2015-2016, Chef Software, Inc.
# Copyright:: 2015-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Recipe:: agent
#
# Copyright 2010-2016, Chef Software, Inc.
# Copyright:: 2010-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Recipe:: client
#
# Copyright 2010-2016, Chef Software, Inc.
# Copyright:: 2010-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Recipe:: common
#
# Copyright 2010-2016, Chef Software, Inc.
# Copyright:: 2010-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Recipe:: default
#
# Copyright 2010-2016, Chef Software, Inc.
# Copyright:: 2010-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Recipe:: install_agent
#
# Copyright 2015-2016, Chef Software, Inc.
# Copyright:: 2015-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Recipe:: install_server
#
# Copyright 2015-2016, Chef Software, Inc.
# Copyright:: 2015-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Recipe:: repository
#
# Copyright 2015-2016, Chef Software, Inc.
# Copyright:: 2015-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
#
# Cookbook Name:: ossec
# Cookbook:: ossec
# Recipe:: server
#
# Copyright 2010-2016, Chef Software, Inc.
# Copyright:: 2010-2017, Chef Software, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......@@ -37,7 +37,7 @@ template '/usr/local/bin/dist-ossec-keys.sh' do
source 'dist-ossec-keys.sh.erb'
owner 'root'
group 'root'
mode 0755
mode '755'
variables(ssh_hosts: ssh_hosts.sort)
not_if { ssh_hosts.empty? }
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