opscode/chef_objects — pull request #12 by seth (2012-08-29 22:38:00+00:00)
Title: Add chef_role:environments/1

This function extracts the list of environments that have custom run
lists for a given role EJSON. Used by /roles/:role/environments.