Use templates_cookbook pattern for agent config