mounts:

         1_usr_sap:
            device: /dev/.....
            mountpoint: /usr/sap
         2_usr_sap_lmp:
            device: /dev/....
            mountpoint: /usr/sap/LMP


define mountenty(){

       # some mount ressource

       # some directory resource

}


class sysctl::mounts() {
  create_resources(mountentry, $mounts)
}


Hello,

i need to iterate over all mounts, creating mountpoint and mount the 
ressource.
But the generated ressources need to be ordered, bcs i can only mount 
/usr/sap/lmp if usr sap is mounted.

the definded type just creates ressources ans executes them randomly

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b6440d12-99cb-4959-ab42-c263057d6360%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to