aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-05-16 12:06:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-05-16 12:06:11 -0300
commite90c43f1d2c9896ad4bc468094b442c7faebde8e (patch)
treeecd777974bb59a117cacf392ab361568a4c7bc13
parent9abba0402e36b31f15ac9288f0022f184785bdd1 (diff)
downloadpuppet-nodo-e90c43f1d2c9896ad4bc468094b442c7faebde8e.tar.gz
puppet-nodo-e90c43f1d2c9896ad4bc468094b442c7faebde8e.tar.bz2
Not available on trusty: debian-security-support
-rw-r--r--manifests/utils.pp9
1 files changed, 7 insertions, 2 deletions
diff --git a/manifests/utils.pp b/manifests/utils.pp
index 22c115c..3e30471 100644
--- a/manifests/utils.pp
+++ b/manifests/utils.pp
@@ -1,7 +1,12 @@
# Common utilities
class nodo::utils inherits nodo::utils::base {
- package { [ 'vim-nox', 'debian-security-support' ]:
- ensure => installed,
+ package { [ 'vim-nox' ]:
+
+ package { 'debian-security-support' :
+ ensure => $::lsbdistcodename ? {
+ 'trusty' => absent,
+ default => present,
+ },
}
# Might be defined elsewhere