@stevendanna imho not.

it would make sense to move 83-98 and 100-115 to function with two params: lrwp to disable, lrwp to enable, but then it should be different pull-request and COOK ticket. what your style guide says, where that function be defined in same recipe file? or in helpers?