summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/inotify.pp5
-rw-r--r--manifests/repository.pp6
2 files changed, 6 insertions, 5 deletions
diff --git a/manifests/inotify.pp b/manifests/inotify.pp
deleted file mode 100644
index 491fb04..0000000
--- a/manifests/inotify.pp
+++ /dev/null
@@ -1,5 +0,0 @@
-class reprepro::inotify {
- package { 'inoticoming':
- ensure => 'present',
- }
-}
diff --git a/manifests/repository.pp b/manifests/repository.pp
index 20f6711..317fbdc 100644
--- a/manifests/repository.pp
+++ b/manifests/repository.pp
@@ -160,6 +160,12 @@ define reprepro::repository (
include reprepro::inotify
}
+ if !defined(Package['inoticoming']) {
+ package { 'inoticoming':
+ ensure => $inoticoming_presence,
+ }
+ }
+
file { '/etc/init.d/reprepro':
ensure => $inoticoming_presence,
owner => root,