summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--manifests/reprepro/snapshots/time_based.pp30
1 files changed, 15 insertions, 15 deletions
diff --git a/manifests/reprepro/snapshots/time_based.pp b/manifests/reprepro/snapshots/time_based.pp
index 7b856f7..1dee47f 100644
--- a/manifests/reprepro/snapshots/time_based.pp
+++ b/manifests/reprepro/snapshots/time_based.pp
@@ -82,6 +82,21 @@ class tails::reprepro::snapshots::time_based (
user => $user,
}
+ $tails_delete_expired_apt_snapshots_pkg_deps = [
+ 'libdatetime-perl',
+ 'libdatetime-format-mail-perl',
+ 'libfile-find-rule-perl',
+ 'libfile-slurp-perl',
+ 'libipc-system-simple-perl',
+ 'liblist-moreutils-perl',
+ ]
+ $tails_update_time_based_apt_snapshots_pkg_deps = [
+ libcarp-assert-perl,
+ libcarp-assert-more-perl,
+ libipc-system-simple-perl,
+ libpath-tiny-perl,
+ libtry-tiny-perl,
+ ]
ensure_packages(
union(
$tails_update_time_based_apt_snapshots_pkg_deps,
@@ -90,13 +105,6 @@ class tails::reprepro::snapshots::time_based (
{'ensure' => $package_ensure}
)
- $tails_update_time_based_apt_snapshots_pkg_deps = [
- libcarp-assert-perl,
- libcarp-assert-more-perl,
- libipc-system-simple-perl,
- libpath-tiny-perl,
- libtry-tiny-perl,
- ]
file { '/usr/local/bin/tails-update-time-based-apt-snapshots':
ensure => $ensure,
owner => root,
@@ -120,14 +128,6 @@ class tails::reprepro::snapshots::time_based (
source => 'puppet:///modules/tails/reprepro/snapshots/time_based/tails-bump-apt-snapshot-valid-until',
}
- $tails_delete_expired_apt_snapshots_pkg_deps = [
- 'libdatetime-perl',
- 'libdatetime-format-mail-perl',
- 'libfile-find-rule-perl',
- 'libfile-slurp-perl',
- 'libipc-system-simple-perl',
- 'liblist-moreutils-perl',
- ]
file { '/usr/local/bin/tails-delete-expired-apt-snapshots':
ensure => $ensure,
owner => root,