summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-25 15:37:12 -0700
committerTim Smith <tsmith84@gmail.com>2020-08-25 15:37:12 -0700
commit882dfb0f9a61cdb0ce1f843982bfcc41eb97148c (patch)
tree966138a79e5fc543abf1765c3d5f46cdf814d33c
parentce0826db2f21578dc6f1ec3bd349966dfd68762f (diff)
downloadchef-882dfb0f9a61cdb0ce1f843982bfcc41eb97148c.tar.gz
Add kitchen testing of the chef_client_launchd resource
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--kitchen-tests/cookbooks/end_to_end/recipes/macos.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
index 9c7416cfd9..14b61e4da3 100644
--- a/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
+++ b/kitchen-tests/cookbooks/end_to_end/recipes/macos.rb
@@ -43,6 +43,11 @@ include_recipe "chef-client::delete_validation"
include_recipe "chef-client::config"
include_recipe "::_chef_client_trusted_certificate"
+chef_client_launchd "Every 30 mins Infra Client run" do
+ interval 30
+ action :enable
+end
+
include_recipe "git"
# test various archive formats in the archive_file resource