Hello,

given the following dict

storage:
   layout: ORA
   nfs:
      mounts:
         /home: sharedfiler:/vol_MWO_shared/misc/os/home
         /oracle: sharedfiler:/vol/mwo_shared_cdot/misc/db/oracle/oracle


i want to iterate over mounts


class sysctl::encmounts(){
 each($::yaml['storage']['nfs']['mounts']) |$mount| {
     notify{"$mount":}
 }
}


(don't care about the leading $::yaml )

but puppet throws:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Could not match |$mount| at ....

can anybody help ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7ebfa3cf-c33d-4398-9544-a96dcb141698%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to