Skip to content

Commit 3daaf15

Browse files
committed
Explain what action :nothing means
Signed-off-by: Edoardo Antonini <[email protected]>
1 parent c3a1ae2 commit 3daaf15

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cookbooks/aws-parallelcluster-install/resources/ec2_udev_rules/partial/_debian_udev_configuration.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
# allow udev to do network call
1818
execute 'udev-daemon-reload' do
1919
command 'udevadm control --reload'
20+
# This means the action is not executed until something triggers it with a 'notifies', as below
21+
# https://docs.chef.io/resources/service/#actions
2022
action :nothing
2123
end
2224

test/common/libraries/os_properties.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,4 @@ def redhat_ubi?
2222
def alinux2?
2323
inspec.os.name == 'amazon' && inspec.os.release.to_i == 2
2424
end
25-
2625
end

0 commit comments

Comments
 (0)