Cleanup old repo migration config (nordunet->gitops), SC-2860
This commit is contained in:
parent
a18d5618ce
commit
cd4f9b0bbc
1 changed files with 0 additions and 12 deletions
|
@ -53,18 +53,6 @@ class common {
|
||||||
package { 'needrestart': ensure => installed}
|
package { 'needrestart': ensure => installed}
|
||||||
package {'lshw': ensure => 'latest'}
|
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 {
|
class dhcp6_client {
|
||||||
|
|
Loading…
Add table
Reference in a new issue