summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-06-30 21:57:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-06-30 21:57:23 -0300
commite38d5710ceb7437a81e82458ee069f045b8b7b9f (patch)
tree5954646a2ccec08b2f313e602b7e4cc5b729cb76
parent02208c77ac7ebc7062d239f9c4873dcf96c906a6 (diff)
downloadpuppet-reprepro-e38d5710ceb7437a81e82458ee069f045b8b7b9f.tar.gz
puppet-reprepro-e38d5710ceb7437a81e82458ee069f045b8b7b9f.tar.bz2
Moving inoticoming definition to reprepro::inotify
-rw-r--r--manifests/init.pp15
1 files changed, 13 insertions, 2 deletions
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";