Skip to content

Commit

Permalink
Remove tito from our RPM builders
Browse files Browse the repository at this point in the history
We've stopped using this and can be cleaned up.
  • Loading branch information
ekohl authored and ehelms committed Jul 12, 2023
1 parent 3394af2 commit 61cca97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
18 changes: 3 additions & 15 deletions puppet/modules/slave/manifests/packaging/rpm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -69,25 +69,13 @@
}

unless $is_el8 {
# tito
# Work around to fix https://github.com/rpm-software-management/tito/pull/354#issuecomment-613523823
# Pulled from the infra repository
# Tito was used in the past, but no longer. This cleans up the files we used to have.
package { 'tito':
ensure => '0.6.12',
ensure => absent,
}

file { "${homedir}/.titorc":
ensure => file,
mode => '0644',
owner => 'jenkins',
group => 'jenkins',
content => "KOJI_OPTIONS=-c ~/.koji/config build --nowait\n",
}

file { '/tmp/tito':
ensure => directory,
owner => 'jenkins',
group => 'jenkins',
ensure => absent,
}
}

Expand Down
2 changes: 1 addition & 1 deletion puppet/modules/unattended/manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class { 'yum_cron':
apply_updates => true,
mailto => 'sysadmins',
exclude_packages => ['kernel*', 'java*', 'jenkins', 'tito'],
exclude_packages => ['kernel*', 'java*', 'jenkins'],
}
}
}

0 comments on commit 61cca97

Please sign in to comment.