]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Unison compatibility
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 1 Feb 2013 21:14:52 +0000 (19:14 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 1 Feb 2013 21:14:52 +0000 (19:14 -0200)
manifests/subsystems/utils/network.pp

index 84454ad3896093280173f5592ab795b01515fd71..05291306d9ef442f4692a6e8615e3459f5e308ab 100644 (file)
@@ -30,6 +30,15 @@ class utils::network::minimal {
   package { 'unison':
     ensure => installed,
   }
+
+  # For backwards compatibility
+  # See addversionno unison config parameter
+  package { 'unison2.32.52':
+    ensure => $::lsbdistcodename ? {
+      'wheezy' => present,
+      default  => absent,
+    }
+  }
 }
 
 class utils::network inherits utils::network::minimal {