Commit 4ab40723 authored by Xorima Bot's avatar Xorima Bot

Cookstyle 6.4.4 Fixes

Issues found and resolved with: recipes/common.rb

 - 20:35 convention: Layout/TrailingWhitespace - Trailing whitespace detected.
 - 20:36 refactor: ChefModernize/FoodcriticComments - Remove legacy code comments that disable Foodcritic rules
 - 90:24 convention: Layout/TrailingWhitespace - Trailing whitespace detected.
 - 90:25 refactor: ChefModernize/FoodcriticComments - Remove legacy code comments that disable Foodcritic rules
Signed-off-by: default avatarXorima Bot <xorimabot@avon-lea.co.uk>
parent 54de012d
# Changelog
## Unreleased
- resolved cookstyle error: recipes/common.rb:20:35 convention: `Layout/TrailingWhitespace`
- resolved cookstyle error: recipes/common.rb:20:36 refactor: `ChefModernize/FoodcriticComments`
- resolved cookstyle error: recipes/common.rb:90:24 convention: `Layout/TrailingWhitespace`
- resolved cookstyle error: recipes/common.rb:90:25 refactor: `ChefModernize/FoodcriticComments`
## 1.2.1 - 2020-05-05
### Added
......
......@@ -17,7 +17,7 @@
# limitations under the License.
#
ruby_block 'ossec install_type' do # ~FC014
ruby_block 'ossec install_type' do
block do
if node['recipes'].include?('ossec::default')
type = 'local'
......@@ -87,7 +87,7 @@ end
# client.keys file will cause a server not to listen and an agent to
# abort immediately. Explicitly stopping the service here after
# installation allows Chef to start it when client.keys has content.
service 'stop ossec' do # ~FC037
service 'stop ossec' do
service_name platform_family?('debian') ? 'ossec' : 'ossec-hids'
action :nothing
......
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