Skip to content

Commit

Permalink
fix: add ensure for ppa lock file
Browse files Browse the repository at this point in the history
- The lock file used by the apt::ppa resource miss the `ensure => file`
  attribute and so never created leading to a constant repository
installation.
  • Loading branch information
llavaud committed Dec 9, 2024
1 parent b565ce0 commit 76399fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/ppa.pp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@
}
}

file { "${apt::sources_list_d}/${sources_list_d_filename}": }
file { "${apt::sources_list_d}/${sources_list_d_filename}":
ensure => 'file',
}
}
else {
tidy { "remove-apt-repository-script-${name}":
Expand Down

0 comments on commit 76399fc

Please sign in to comment.