sethvargo-cookbooks/swap — pull request #8 by drywheat (2013-07-03 20:51:43+00:00)
Title: Swap settings fail to persist on fallback

The `#persist` method is never invoked when `#swapon` method fails during the `fallocate` run. Encapsulating the standard routine list in a single, reusable function fixes the problem.