Also change git://git.nordu.net/eid-ops.git -> git://gitops.sunet.se/eid-ops

This commit is contained in:
John Van de Meulebrouck Brendgard 2019-03-06 17:50:21 +01:00
parent 88205b4393
commit e166295205
No known key found for this signature in database
GPG key ID: 807A5FD4B3337B77

View file

@ -49,7 +49,13 @@ class common {
}
}
# change git repo from git.nordu.net to gitops.sunet.se
# change git repo from git.nordu.net to gitops.sunet.se (for .git)
exec { 'git_repo_sunet_dot_git':
cwd => '/var/cache/cosmos/repo',
command => '/usr/bin/git remote set-url origin git://gitops.sunet.se/eid-ops git://git.nordu.net/eid-ops.git',
onlyif => '/usr/bin/git remote get-url origin | grep -qi git.nordu.net/eid-ops.git',
}
# change git repo from git.nordu.net to gitops.sunet.se (without .git)
exec { 'git_repo_sunet':
cwd => '/var/cache/cosmos/repo',
command => '/usr/bin/git remote set-url origin git://gitops.sunet.se/eid-ops git://git.nordu.net/eid-ops',