Hi,

I would like to have mounts entries and mount points created using 
create_resources from the same hiera data.
I am thinking to describe directories like this:

---
my::mounts:
  /dir1:
    device: server1:/share1
    options: rw,soft,noatime
    owner: user1
    mode:  0644
  /dir2:
    device: server2:/share2
    options: rw,soft,noatime
    owner: user2
    group: somegroup
    mode:  0664

and then using puppet 'magic' I want to create two set of resources 
File[ensure=>directory] -> Mount[type=nfs,ensure=>mounted]

Is this possible or I have to maintain two sets of data?

Thanks,
Vadym


-- 
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/a2d090a7-fadc-4496-8e82-e181aa34c3b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to