Skip to content

Commit

Permalink
Merge pull request #1069 from Programie/main
Browse files Browse the repository at this point in the history
Do not remove PPA sources.list.d files if purge is enabled
  • Loading branch information
GSPatton authored Oct 31, 2022
2 parents 1c382e1 + 188da65 commit e8cd1d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions manifests/ppa.pp
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,11 @@
logoutput => 'on_failure',
notify => Class['apt::update'],
require => $_require,
before => File["${apt::sources_list_d}/${sources_list_d_filename}"],
}
}

file { "${apt::sources_list_d}/${sources_list_d_filename}": }
}
else {
tidy { "remove-apt-repository-script-${name}":
Expand Down

0 comments on commit e8cd1d2

Please sign in to comment.