In .pp file:
replication => [
{
name => 'local',
url => xyz,
push => ['refs/heads', 'refs/tags'],
},
{
name => 'github',
url => abc,
push => ['refs/heads', 'refs/tags'],
},
]
How to define template to output the replication.config file looks like below:
[remote "local"]
url = abc
push = refs/heads
push = refs/tags
[remote "github"]
url = abc
push = refs/heads
push = refs/tags