summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2012-10-23 15:03:54 +0200
committerintrigeri <intrigeri@boum.org>2012-10-25 14:20:33 +0200
commit4ed9def99c99a6d5c21af18eb0b73a1d6081cbee (patch)
tree4d8c5c838c7c17cdd08a2ab8c3c58a6d34b21845 /tests
parentf8ec0b9d756dbe7fb360a3059231045e3d8acba5 (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 'tests')
-rw-r--r--tests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/init.pp b/tests/init.pp
new file mode 100644
index 0000000..d8d40ed
--- /dev/null
+++ b/tests/init.pp
@@ -0,0 +1,5 @@
+class { 'reprepro':
+ uploaders => ['DEADBEEF'],
+ handle_incoming_with_cron => true,
+ handle_incoming_with_inotify => true,
+}