From f5c32fdbcb368dfe25c69803df01a77434f7323e Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 8 Apr 2020 13:27:36 -0700 Subject: Test the new resource in the Test Kitchen tests Signed-off-by: Tim Smith --- kitchen-tests/cookbooks/end_to_end/recipes/default.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'kitchen-tests') diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/default.rb b/kitchen-tests/cookbooks/end_to_end/recipes/default.rb index c1a335d98c..af1e516030 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/default.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/default.rb @@ -67,7 +67,6 @@ end include_recipe "chef-client::delete_validation" include_recipe "chef-client::config" -include_recipe "chef-client" include_recipe "openssh" @@ -149,6 +148,11 @@ chef_client_cron "Run chef-client with base recipe" do daemon_options ["--override-runlist mycorp_base::default"] end +chef_client_systemd_timer "Run chef-client as a systemd timer" do + interval "1hr" + only_if { systemd? } +end + include_recipe "::chef-vault" unless includes_recipe?("end_to_end::chef-vault") include_recipe "::alternatives" include_recipe "::tests" -- cgit v1.2.1