rcbops-cookbooks/osops-utils — pull request #61 by mancdaz (2012-12-17 15:19:28+00:00)
Title: [ENHANCEMENT] - more options for get_settings_by_role

allows you to pass a third (optional) argument to get_settings_by_role, to indicate if you want yourself removed from the results (rather than the old default which was always to return yourself if you held the role).

This is useful if you need to check (and get settings from) other nodes holding a role that you yourself have - you can then grab their eg. passwords and set them into your own node hash, rather than always setting your own (different) password.