Skip to content

Commit e646854

Browse files
committed
apply cookstyle fixes
Signed-off-by: Martin Schurz <Martin.Schurz@t-systems.com>
1 parent b06edb2 commit e646854

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

controls/os_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
#
4-
# Copyright 2015, Patrick Muench
4+
# Copyright:: 2015, Patrick Muench
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -29,8 +29,8 @@
2929
shadow_group = 'shadow' if os.debian? || os.suse? || os.name == 'alpine'
3030
container_execution = begin
3131
virtualization.role == 'guest' && virtualization.system =~ /^(lxc|docker)$/
32-
rescue NoMethodError
33-
false
32+
rescue NoMethodError
33+
false
3434
end
3535

3636
blacklist = input(

controls/package_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
#
4-
# Copyright 2015, Patrick Muench
4+
# Copyright:: 2015, Patrick Muench
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -21,8 +21,8 @@
2121

2222
container_execution = begin
2323
virtualization.role == 'guest' && virtualization.system =~ /^(lxc|docker)$/
24-
rescue NoMethodError
25-
false
24+
rescue NoMethodError
25+
false
2626
end
2727

2828
control 'package-01' do

controls/sysctl_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
#
4-
# Copyright 2015, Patrick Muench
4+
# Copyright:: 2015, Patrick Muench
55
#
66
# Licensed under the Apache License, Version 2.0 (the "License");
77
# you may not use this file except in compliance with the License.
@@ -23,8 +23,8 @@
2323
kernel_modules_disabled = input('kernel_modules_disabled', value: 0, description: 'Should loading of kernel modules be disabled?')
2424
container_execution = begin
2525
virtualization.role == 'guest' && virtualization.system =~ /^(lxc|docker)$/
26-
rescue NoMethodError
27-
false
26+
rescue NoMethodError
27+
false
2828
end
2929

3030
control 'sysctl-01' do

0 commit comments

Comments
 (0)