aboutsummaryrefslogtreecommitdiff
path: root/manifests/utils/development/ide.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-19 14:55:47 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-19 14:55:47 -0300
commit090d9279b2a1ff6cc6855a1e4326106b137c4dce (patch)
treeca513f87f4883ebf5d536ece7771e10f3c1d0de6 /manifests/utils/development/ide.pp
parent051f42c653a98d14d811e359a3a5584a641310b7 (diff)
downloadpuppet-nodo-090d9279b2a1ff6cc6855a1e4326106b137c4dce.tar.gz
puppet-nodo-090d9279b2a1ff6cc6855a1e4326106b137c4dce.tar.bz2
Enabling nodo::utils::development::ide packages available in jessie onwards
Diffstat (limited to 'manifests/utils/development/ide.pp')
-rw-r--r--manifests/utils/development/ide.pp25
1 files changed, 16 insertions, 9 deletions
diff --git a/manifests/utils/development/ide.pp b/manifests/utils/development/ide.pp
index 4fd8412..4d4748f 100644
--- a/manifests/utils/development/ide.pp
+++ b/manifests/utils/development/ide.pp
@@ -1,15 +1,22 @@
class nodo::utils::development::ide {
- package { [ 'exuberant-ctags', 'pnopaste-cli', 'ditz', 'mr', 'doxygen', 'agave', 'hexedit', 'ack-grep' ]:
+ package { [ 'exuberant-ctags', 'mr', 'doxygen', 'agave', 'hexedit', 'ack-grep' ]:
ensure => installed,
}
- # To be considered
- # package { [ 'ttyrec', 'taskwarrior' ]:
- # ensure => installed,
- # }
+ # Old packages
+ package { [ 'ditz', 'pnopaste-cli' ]:
+ ensure => $::lsbdistcodename ? {
+ 'wheezy' => present,
+ default => absent,
+ },
+ }
+
- # Not available
- #package { [ 'bugs-everywhere', 'silversearcher-ag' ]:
- # ensure => installed,
- #}
+ # Jessie onwards
+ package { [ 'ttyrec', 'taskwarrior', 'bugs-everywhere', 'silversearcher-ag' ]:
+ ensure => $::lsbdistcodename ? {
+ 'wheezy' => absent,
+ default => present,
+ },
+ }
}