You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run puppet a first time, it will install the repository:
Notice: Compiled catalog for REDACTED in environment production in 2.02 seconds
Notice: /Stage[main]/Duplicity/Apt::Ppa[ppa:duplicity-team/duplicity-release-git]/Exec[add-apt-repository-ppa:duplicity-team/duplicity-release-git]/returns: executed successfully
Notice: Applied catalog in 29.86 seconds
The module must create the file /etc/apt/sources.list.d/duplicity-team-ubuntu-duplicity-release-git-noble.list to prevent re-installation on next runs, but it fail with the following error:
Debug: /Stage[main]/Duplicity/Apt::Ppa[ppa:duplicity-team/duplicity-release-git]/File[/etc/apt/sources.list.d/duplicity-team-ubuntu-duplicity-release-git-noble.list]: Nothing to manage: no ensure and the resource doesn't exist
Adding an ensure => file statement here seems to solve this issue.
Environment
Version: 8.10.0
Platform: Ubuntu 24.04
The text was updated successfully, but these errors were encountered:
Describe the Bug
Module failed to create the apt source list file resulting in an installation of the PPA repository on every run.
Expected Behavior
The repository apt source list file must be created on the first installation.
Steps to Reproduce
Add a PPA repository
Run puppet a first time, it will install the repository:
The module must create the file
/etc/apt/sources.list.d/duplicity-team-ubuntu-duplicity-release-git-noble.list
to prevent re-installation on next runs, but it fail with the following error:Debug: /Stage[main]/Duplicity/Apt::Ppa[ppa:duplicity-team/duplicity-release-git]/File[/etc/apt/sources.list.d/duplicity-team-ubuntu-duplicity-release-git-noble.list]: Nothing to manage: no ensure and the resource doesn't exist
Adding an
ensure => file
statement here seems to solve this issue.Environment
The text was updated successfully, but these errors were encountered: