projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2364d
)
roles::snapshot_db: make packages ignore conditional on running on buster
author
Peter Palfrader
<peter@palfrader.org>
Sun, 29 Sep 2019 19:09:02 +0000
(21:09 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 29 Sep 2019 19:09:02 +0000
(21:09 +0200)
modules/roles/manifests/snapshot_db.pp
patch
|
blob
|
history
diff --git
a/modules/roles/manifests/snapshot_db.pp
b/modules/roles/manifests/snapshot_db.pp
index
5f045e8
..
a14df02
100644
(file)
--- a/
modules/roles/manifests/snapshot_db.pp
+++ b/
modules/roles/manifests/snapshot_db.pp
@@
-9,7
+9,9
@@
class roles::snapshot_db (
$now = Timestamp()
$date = $now.strftime('%F')
- if versioncmp($date, '2020-01-15') <= 0 {
+ if versioncmp($::lsbmajdistrelease, '9') <= 0 {
+ $ensure = 'absent'
+ } elsif versioncmp($date, '2020-01-15') <= 0 {
$ensure = 'present'
} else {
$ensure = 'absent'