Cleanup old repo migration config (nordunet->gitops), SC-2860

This commit is contained in:
Patrik Holmqvist 2025-03-13 12:35:09 +01:00
parent a18d5618ce
commit cd4f9b0bbc
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -53,18 +53,6 @@ class common {
package { 'needrestart': ensure => installed}
package {'lshw': ensure => 'latest'}
# 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',
onlyif => '/usr/bin/git remote get-url origin | grep -qi git.nordu.net/eid-ops',
}
}
class dhcp6_client {