gofullstack/capistrano-chef — pull request #29 by sds (2014-10-16 02:59:16+00:00)
Title: Preserve `attribute` key in options hash

When passing the same `options` hash containing an `attribute` key to multiple invocations of `chef_role`, subsequent invocations would silently switch the attribute back to `:ipaddress` since `delete` was called on the hash.

The solution is to fetch the value instead, supplying a default of `:ipaddress` if it isn't defined.