Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
907c621
)
Exec resource only exists on first run
author
Michael Wieland
<git@selfcoders.com>
Tue, 25 Oct 2022 14:37:14 +0000
(16:37 +0200)
committer
Michael Wieland
<git@selfcoders.com>
Tue, 25 Oct 2022 14:37:14 +0000
(16:37 +0200)
manifests/ppa.pp
patch
|
blob
|
history
diff --git
a/manifests/ppa.pp
b/manifests/ppa.pp
index b2f6c70005bac70b0e9b9e804f7dc47c004d2345..4e5e775181d2c1d52b8b98a1c6c056b2d86887f9 100644
(file)
--- a/
manifests/ppa.pp
+++ b/
manifests/ppa.pp
@@
-111,12
+111,11
@@
define apt::ppa (
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}":
- require => Exec["add-apt-repository-${name}"],
- }
+ file { "${apt::sources_list_d}/${sources_list_d_filename}": }
}
else {
tidy { "remove-apt-repository-script-${name}":