summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp19
1 files changed, 13 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e55f173..140bad7 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -2,12 +2,19 @@ class reprepro {
$basedir = '/srv/reprepro'
- package {
- "reprepro":
- ensure => '3.9.2-1~bpo40+1';
-
- "inoticoming":
- ensure => '0.2.0-1~bpo40+1';
+ case $lsbdistcodename {
+ 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';
+ }
+ }
}
user { "reprepro":