diff options
author | Tim Smith <tsmith@chef.io> | 2018-08-13 16:04:34 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-08-13 16:04:34 -0700 |
commit | 1f11da2f2c55bbe13d4c54f71c998ffedf01737c (patch) | |
tree | 0bb777fcb9061e9bb52c87121647f6cd2bd5e7dd /kitchen-tests | |
parent | 02c2e86e85cc2244587f9d729b1d9bc179484810 (diff) | |
download | chef-1f11da2f2c55bbe13d4c54f71c998ffedf01737c.tar.gz |
Replace cron cookbook with new cron resources
Test chef not the cookbook
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/metadata.rb | 1 | ||||
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/default.rb | 10 |
2 files changed, 8 insertions, 3 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/metadata.rb b/kitchen-tests/cookbooks/end_to_end/metadata.rb index c5300705c6..83cea5c9a8 100644 --- a/kitchen-tests/cookbooks/end_to_end/metadata.rb +++ b/kitchen-tests/cookbooks/end_to_end/metadata.rb @@ -15,7 +15,6 @@ depends "resolver" depends "selinux" depends "ubuntu" depends "users" -depends "cron" depends "git" supports "ubuntu" diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/default.rb b/kitchen-tests/cookbooks/end_to_end/recipes/default.rb index 77c5d2438e..3985cefd5a 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/default.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/default.rb @@ -63,12 +63,18 @@ include_recipe "nscd" include_recipe "logrotate" -include_recipe "cron" - include_recipe "git" directory "/etc/ssl" +cron_access "bob" + +cron_d "some random cron job" do + minute 0 + hour 23 + command "/usr/bin/true" +end + # Generate new key and certificate openssl_dhparam "/etc/ssl/dhparam.pem" do key_length 1024 |