]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Fixing tunnel::mail name
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 21 Jan 2013 20:44:41 +0000 (18:44 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 21 Jan 2013 20:44:41 +0000 (18:44 -0200)
manifests/nodo.pp

index 0fb8ef99ef60f790cfbba7a61e4b15180da3261f..e35ec3fdc2cc84e554933f99400a79602cb31045 100644 (file)
@@ -29,7 +29,8 @@ class nodo {
   # Email delivery configuration
   case hiera('mail_delivery', 'exim') {
     'tunnel': {              
-      tunnel::mail { hiera('mail_hostname'):
+      $mail_hostname = hiera('mail_hostname')
+      tunnel::mail { "$mail_hostname":
         sshport   => hiera('mail_ssh_port'),
       }
     }