Hmm ..... silly I missed that; We name our virtual machines in the following manner [location-prefix][vm-type][project-code][vm-id] hence the name bang (Bangalore) vmplm [ mid -size VM running RHEL 6.3] palm [project code], the ids are from 09 to 14. I wanted to reserve this mount point only for the VMs of this project.
looks like bangvmplmpalm* is the right way to go then. also is there a way to extract the project code "plam" into a variable? something like [projects] /apps/puppet/projects/%p/%h or /apps/puppet/projects/$project/%h ? BR/ Anadi Misra. On Fri, Jan 25, 2013 at 9:09 AM, Wil Cooley <wcoo...@nakedape.cc> wrote: > > On Jan 21, 2013 1:32 AM, "Anadi Misra" <anadi....@gmail.com> wrote: > > > > hi! all, > > > > the following regex fails for a mount point definition > > > > [palms] > > path /apps/puppet/projects/palms/%h > > allow /^bangvmplmpalm([0-1][0-4,9]).example.com$/ > > > > The allow directive uses wildcards, not regular expressions: > > http://docs.puppetlabs.com/guides/file_serving.html > > Unless this was added but not documented. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.