I have a recipe that is applied to servers in two different Chef organizations. In the recipe there is a cookbook_file command that I would like to apply a different file depending on which organization the server is a member of. I naively tried “if node.chef_organization”, but that returns “Undefined method or attribute
chef_organization' onnode’”. Is there a way to do this?