summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorkaustubh-d <kaustubh@clogeny.com>2014-10-28 14:27:23 +0530
committerkaustubh-d <kaustubh@clogeny.com>2014-10-28 14:27:23 +0530
commit0162b963e177ecee23011a43e3c9229b4d32d991 (patch)
tree0ec5581aa95b002783fc0a0d0f4081b3e3f63af3 /spec
parent1eb4c9dc1b8b482449e114a1f2f03d00372b64a0 (diff)
downloadchef-0162b963e177ecee23011a43e3c9229b4d32d991.tar.gz
@hourly not supported in aix crons
Diffstat (limited to 'spec')
-rw-r--r--spec/functional/resource/cron_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/cron_spec.rb b/spec/functional/resource/cron_spec.rb
index 287b5a1391..ed30756583 100644
--- a/spec/functional/resource/cron_spec.rb
+++ b/spec/functional/resource/cron_spec.rb
@@ -56,8 +56,8 @@ describe Chef::Resource::Cron, :requires_root, :unix_only do
let(:new_resource) do
new_resource = Chef::Resource::Cron.new("Chef functional test cron", run_context)
new_resource.user 'root'
- # @hourly is not supported on solaris
- if ohai[:platform] == "solaris" || ohai[:platform] == "solaris2"
+ # @hourly is not supported on solaris, aix
+ if ohai[:platform] == "solaris" || ohai[:platform] == "solaris2" || ohai[:platform] == "aix"
new_resource.minute "0 * * * *"
else
new_resource.minute '@hourly'