Hi, On 06/04/2014 03:32 PM, Vadym Chepkov wrote: > File[ensure=>directory] -> Mount[type=nfs,ensure=>mounted] > > Is this possible or I have to maintain two sets of data?
no, that is fine. The 'puppet magic' you are looking for is a defined type that accepts all the parameters you want to declare in your data. The implementation of the define should then "translate" them into the file and mount resources you want. See http://docs.puppetlabs.com/puppet/latest/reference/lang_defined_types.html HTH, Felix -- 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/538F249D.6020601%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/d/optout.