From: Silvio Rhatto Date: Fri, 1 Jul 2011 00:57:23 +0000 (-0300) Subject: Moving inoticoming definition to reprepro::inotify X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=e38d5710ceb7437a81e82458ee069f045b8b7b9f;p=puppet-reprepro.git Moving inoticoming definition to reprepro::inotify --- diff --git a/manifests/init.pp b/manifests/init.pp index f7f0a34..28bf048 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'; } } } @@ -141,6 +139,19 @@ 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";