diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-04-08 13:27:36 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-04-08 14:17:12 -0700 |
commit | f5c32fdbcb368dfe25c69803df01a77434f7323e (patch) | |
tree | f40830783675b0a9d2accbc67a5018580c21f367 /kitchen-tests | |
parent | 14af178fad78ab9088c28bf9a3098d1395480bba (diff) | |
download | chef-f5c32fdbcb368dfe25c69803df01a77434f7323e.tar.gz |
Test the new resource in the Test Kitchen tests
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/default.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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" |