Also change git://git.nordu.net/eid-ops.git -> git://gitops.sunet.se/eid-ops
This commit is contained in:
parent
88205b4393
commit
e166295205
1 changed files with 7 additions and 1 deletions
|
@ -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':
|
exec { 'git_repo_sunet':
|
||||||
cwd => '/var/cache/cosmos/repo',
|
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',
|
command => '/usr/bin/git remote set-url origin git://gitops.sunet.se/eid-ops git://git.nordu.net/eid-ops',
|
||||||
|
|
Loading…
Add table
Reference in a new issue