hw-cookbooks/haproxy — pull request #61 by drywheat (2014-02-14 17:52:37+00:00)
Title: Fix CPU affinity tuning recipe

Attempting to create a run list using this recipe and the default one results in an exception during the first convergence of a node.

```ruby
# example run list
include_recipe 'haproxy'
include_recipe 'haproxy::tuning'
```

This happens because the `cpu_affinity` resource triggers immediately after the `'service[haproxy]'` resource is created. Since that service resource doesn't start HAProxy immediately, we end up with a situation where we're trying to change the cpu affiinity for a process that does not yet exist.

The easy fix it use the resources default notification time (i.e. *delayed*)