Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
Run chef every 15 minutes instead of every 4 hours
Browse files Browse the repository at this point in the history
Sam Kottler committed Jun 29, 2014
1 parent b06209f commit 075ac97
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -203,7 +203,7 @@ GRAPH
rubygems-cache (0.0.1)
memcached (>= 0.0.0)
rubygems (>= 0.0.0)
rubygems-chef (0.0.8)
rubygems-chef (0.0.9)
chef-client (>= 0.0.0)
omnibus_updater (>= 0.0.0)
rubygems-ci (0.0.7)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-chef/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name 'rubygems-chef'
maintainer 'RubyGems.org ops team'

version '0.0.8'
version '0.0.9'

depends 'chef-client'
depends 'omnibus_updater'
3 changes: 3 additions & 0 deletions cookbooks/rubygems-chef/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -10,6 +10,9 @@
node.default['chef_client']['config']['ssl_verify_mode'] = ':verify_peer'
node.default['chef_client']['config']['client_fork'] = true

node.default['chef_client']['cron']['minute'] = '*/15'
node.default['chef_client']['cron']['hour'] = '*'

include_recipe 'chef-client::config'
include_recipe 'chef-client::cron'

0 comments on commit 075ac97

Please sign in to comment.