diff options
-rw-r--r-- | manifests/subsystems/utils/network.pp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/manifests/subsystems/utils/network.pp b/manifests/subsystems/utils/network.pp index df49912..19ca18a 100644 --- a/manifests/subsystems/utils/network.pp +++ b/manifests/subsystems/utils/network.pp @@ -1,5 +1,5 @@ class utils::network::irssi { - package { [ 'irssi', 'bitlbee', 'irssi-plugin-silc', 'irssi-scripts', 'irssi-plugin-otr' ]: + package { [ 'irssi', 'bitlbee', 'irssi-scripts', 'irssi-plugin-otr' ]: ensure => installed, } @@ -7,6 +7,14 @@ class utils::network::irssi { package { [ 'libcrypt-blowfish-perl', 'libcrypt-dh-perl', 'libcrypt-openssl-bignum-perl' ]: ensure => installed, } + + # Not on wheezy + package { 'irssi-plugin-silc': + ensure => $::lsbdistcodename ? { + 'wheezy' => absent, + default => present, + } + } } class utils::network::torrent { |