summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2012-10-23 16:14:31 +0200
committerintrigeri <intrigeri@boum.org>2012-10-25 13:48:12 +0200
commitf8ec0b9d756dbe7fb360a3059231045e3d8acba5 (patch)
tree3ef17757efe8dc76e0090065e3af138983c5148e /manifests
parent1ab51064d9a10a10f1adbb1c15069107247c2312 (diff)
Don't setup init script manually
There is no need to exec `update-rc.d` manually, the service definition will take care of running it!
Diffstat (limited to 'manifests')
-rw-r--r--manifests/inotify.pp6
1 files changed, 0 insertions, 6 deletions
diff --git a/manifests/inotify.pp b/manifests/inotify.pp
index f3b8c62..45fcb7e 100644
--- a/manifests/inotify.pp
+++ b/manifests/inotify.pp
@@ -21,17 +21,11 @@ class reprepro::inotify inherits reprepro {
content => template('reprepro/inoticoming.default.erb'),
}
- exec { "reprepro_init_script":
- command => "/usr/sbin/update-rc.d reprepro defaults",
- unless => "/bin/ls /etc/rc3.d/ | /bin/grep reprepro",
- require => File["/etc/init.d/reprepro"],
- }
service { "reprepro":
ensure => "running",
pattern => "inoticoming.*reprepro.*processincoming",
hasstatus => false,
require => [File["/etc/default/reprepro"],
- Exec["reprepro_init_script"],
File["/etc/init.d/reprepro"] ],
}
}