diff options
author | intrigeri <intrigeri@boum.org> | 2012-01-31 18:10:16 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-01-31 18:10:16 +0100 |
commit | 0fa9135bb3f97426564cf403c66000225d86a7f1 (patch) | |
tree | 35c8e517e6408e35a1b6f6a867994b6930dc688d | |
parent | b405c63e103fd85e5fa9e3b2e8769ca11f317870 (diff) |
Install inoticoming from reprepro::inotify only.
-rw-r--r-- | manifests/init.pp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 4547538..a98bb2c 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -17,13 +17,11 @@ class reprepro { etch: { package { "reprepro": ensure => '3.9.2-1~bpo40+1'; - "inoticoming": ensure => '0.2.0-1~bpo40+1'; } } default: { package { "reprepro": ensure => 'installed'; - "inoticoming": ensure => 'installed'; } } } @@ -146,6 +144,18 @@ class reprepro::cron inherits reprepro { } class reprepro::inotify inherits reprepro { + case $lsbdistcodename { + etch: { + package { + "inoticoming": ensure => '0.2.0-1~bpo40+1'; + } + } + default: { + package { + "inoticoming": ensure => 'installed'; + } + } + } file { "/etc/init.d/reprepro": owner => root, group => root, mode => 0755, source => "puppet://$server/modules/reprepro/inoticoming.init"; |