Use action_class instead of action_class.class_eval
Use action_class instead of action_class.class_eval

This can cause issues in later version of Chef 12

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>

opscode-cookbooks/webpi,chef-cookbooks/webpi