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:
a8b0421
)
Make sure add-apt-repository is executed before managing file resource for it
author
Michael Wieland
<git@selfcoders.com>
Tue, 25 Oct 2022 14:35:20 +0000
(16:35 +0200)
committer
Michael Wieland
<git@selfcoders.com>
Tue, 25 Oct 2022 14:35:20 +0000
(16:35 +0200)
manifests/ppa.pp
patch
|
blob
|
history
diff --git
a/manifests/ppa.pp
b/manifests/ppa.pp
index b68ac66910054db6b82d54e141239c69971f077f..b2f6c70005bac70b0e9b9e804f7dc47c004d2345 100644
(file)
--- a/
manifests/ppa.pp
+++ b/
manifests/ppa.pp
@@
-114,7
+114,9
@@
define apt::ppa (
}
}
- file { "${apt::sources_list_d}/${sources_list_d_filename}": }
+ file { "${apt::sources_list_d}/${sources_list_d_filename}":
+ require => Exec["add-apt-repository-${name}"],
+ }
}
else {
tidy { "remove-apt-repository-script-${name}":