On Thu, Jan 09, 2014 at 07:12:31AM -0800, Stephan wrote: > On Thursday, January 9, 2014 2:59:15 PM UTC, Christopher Wood wrote: > > Could you maybe use "mgmtnfs-${environment}-${fqdn}" (or add more > unique-ish suffix strings) in the resource title? If I recall correctly > giving each resource a unique title will ensure that each > server+environment's mount is a uniquely named resource. > > No unfortunately that's not possible because that would give me NFS mounts > per node, not per environment. I only need one mount per environment.
Re-reading the original post with this in mind, I think I understand this a bit more. I personally wouldn't use exported resources for this. Instead, something along these lines: hiera hash with each environment and its associated mount point hiera lookup on a non-management node grabs its environment environment is used to determine which mount point via hiera_hash management node uses create_resources and hiera_hash to make its mount points Possibly I'm getting closer? > -- > 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 > > [1]https://groups.google.com/d/msgid/puppet-users/26e1282e-45f0-46cd-a7b5-36d50fd012e2%40googlegroups.com. > For more options, visit [2]https://groups.google.com/groups/opt_out. > > References > > Visible links > 1. > https://groups.google.com/d/msgid/puppet-users/26e1282e-45f0-46cd-a7b5-36d50fd012e2%40googlegroups.com > 2. https://groups.google.com/groups/opt_out -- 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/20140109153019.GA12154%40iniquitous.heresiarch.ca. For more options, visit https://groups.google.com/groups/opt_out.