This is okay, but value_for_platform_family and others are accessible in the attributes file in Chef 11+

http://wiki.opscode.com/display/chef/Breaking+Changes+in+Chef+11#BreakingChangesinChef11-RoleandEnvironmentDefaultandOverrideAttributesareVisibleinAttributesFiles