I'm not following the problem. Couldn't you do something like

```
def _content(manager_func, error, consumer_group_id, units, options):
  # generic code here

def install_content(consumer_group_id, units, options):
  agent_manager = whatever
  return _content(agent_manager.install_content, PLP0020, consumer_group_id, units, options)
```