Skip to content

Commit 907c621

Browse files
committed
Make sure add-apt-repository is executed before managing file resource for it
1 parent a8b0421 commit 907c621

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

manifests/ppa.pp

+3-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@
114114
}
115115
}
116116

117-
file { "${apt::sources_list_d}/${sources_list_d_filename}": }
117+
file { "${apt::sources_list_d}/${sources_list_d_filename}":
118+
require => Exec["add-apt-repository-${name}"],
119+
}
118120
}
119121
else {
120122
tidy { "remove-apt-repository-script-${name}":

0 commit comments

Comments
 (0)