diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-07 10:48:39 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-07 10:48:39 -0700 |
commit | be13cbd6bbdf82a6419bd2612f10db698a963d3d (patch) | |
tree | 8d318b5675ef6ba0198bb57442b870bee1daea84 /kitchen-tests | |
parent | 0cf94ee19178280f58aa286f7d6ee5ef5bf9c0a7 (diff) | |
download | chef-be13cbd6bbdf82a6419bd2612f10db698a963d3d.tar.gz |
chef_client_systemd_timer: Fix failures in the :remove action
Get the actual systemd action right. Add a kitchen test for this as well.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/linux.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb b/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb index aad4895246..051a7c9b52 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb @@ -102,6 +102,10 @@ chef_client_systemd_timer "Run chef-client as a systemd timer" do only_if { systemd? } end +chef_client_systemd_timer "a timer that does not exist" do + action :remove +end + locale "set system locale" do lang "en_US.UTF-8" only_if { debian? } |