diff options
author | Tails developers <tails@boum.org> | 2012-10-23 15:03:54 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2012-10-25 14:20:33 +0200 |
commit | 4ed9def99c99a6d5c21af18eb0b73a1d6081cbee (patch) | |
tree | 4d8c5c838c7c17cdd08a2ab8c3c58a6d34b21845 /manifests/cron.pp | |
parent | f8ec0b9d756dbe7fb360a3059231045e3d8acba5 (diff) |
Convert the reprepro class to parametrized format
We remove the deprecated dynamic lookup for variables and now have them as
class parameters.
The reprepro::cron and reprepro::inoticoming classes have been integrated
in the reprepro class as two boolean arguments. As these are not mutually
exclusive, it is cleaner that way.
We add a test manifest for the reprepro class along the way.
Diffstat (limited to 'manifests/cron.pp')
-rw-r--r-- | manifests/cron.pp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/manifests/cron.pp b/manifests/cron.pp deleted file mode 100644 index 1fae59e..0000000 --- a/manifests/cron.pp +++ /dev/null @@ -1,8 +0,0 @@ -class reprepro::cron inherits reprepro { - cron { reprepro: - command => "/usr/bin/reprepro --silent -b $basedir processincoming incoming", - user => reprepro, - minute => '*/5', - require => [ Package['reprepro'], File["$basedir/conf/distributions"] ] - } -} |